org.mitre.cybox.objects.win.TaskStatusEnum Maven / Gradle / Ivy
The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.11.01 at 11:48:17 AM PST
//
package org.mitre.cybox.objects.win;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for TaskStatusEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="TaskStatusEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="SCHED_S_TASK_READY"/>
* <enumeration value="SCHED_S_TASK_RUNNING"/>
* <enumeration value="SCHED_S_TASK_NOT_SCHEDULED"/>
* <enumeration value="SCHED_E_SERVICE_NOT_RUNNING"/>
* <enumeration value="SCHED_E_UNSUPPORTED_ACCOUNT_OPTION"/>
* <enumeration value="SCHED_E_UNKNOWN_OBJECT_VERSION"/>
* <enumeration value="SCHED_E_NO_SECURITY_SERVICES"/>
* <enumeration value="SCHED_E_ACCOUNT_DBASE_CORRUPT"/>
* <enumeration value="SCHED_E_ACCOUNT_NAME_NOT_FOUND"/>
* <enumeration value="SCHED_E_ACCOUNT_INFORMATION_NOT_SET"/>
* <enumeration value="SCHED_E_INVALID_TASK"/>
* <enumeration value="SCHED_E_CANNOT_OPEN_TASK"/>
* <enumeration value="SCHED_E_SERVICE_NOT_INSTALLED"/>
* <enumeration value="SCHED_E_TASK_NOT_RUNNING"/>
* <enumeration value="SCHED_E_TASK_NOT_READY"/>
* <enumeration value="SCHED_E_TRIGGER_NOT_FOUND"/>
* <enumeration value="SCHED_S_EVENT_TRIGGER"/>
* <enumeration value="SCHED_S_TASK_NO_VALID_TRIGGERS"/>
* <enumeration value="SCHED_S_TASK_TERMINATED"/>
* <enumeration value="SCHED_S_TASK_NO_MORE_RUNS"/>
* <enumeration value="SCHED_S_TASK_HAS_NOT_RUN"/>
* <enumeration value="SCHED_S_TASK_DISABLED"/>
* <enumeration value="TASK_STATE_UNKNOWN"/>
* <enumeration value="TASK_STATE_QUEUED"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "TaskStatusEnum", namespace = "http://cybox.mitre.org/objects#WinTaskObject-2")
@XmlEnum
public enum TaskStatusEnum {
/**
* The task is ready to run at its next scheduled time.
*
*/
SCHED_S_TASK_READY,
/**
* The task is currently running.
*
*/
SCHED_S_TASK_RUNNING,
/**
* One or more of the properties that are needed to run this task on a schedule have not been set.
*
*/
SCHED_S_TASK_NOT_SCHEDULED,
/**
* The Task Scheduler service is not running.
*
*/
SCHED_E_SERVICE_NOT_RUNNING,
/**
* The task has been configured with an unsupported combination of account settings and run time options.
*
*/
SCHED_E_UNSUPPORTED_ACCOUNT_OPTION,
/**
* The task object version is either unsupported or invalid.
*
*/
SCHED_E_UNKNOWN_OBJECT_VERSION,
/**
* Task Scheduler security services are available only on Windows NT.
*
*/
SCHED_E_NO_SECURITY_SERVICES,
/**
* Corruption was detected in the Task Scheduler security database; the database has been reset.
*
*/
SCHED_E_ACCOUNT_DBASE_CORRUPT,
/**
* Unable to establish existence of the account specified.
*
*/
SCHED_E_ACCOUNT_NAME_NOT_FOUND,
/**
* No account information could be found in the Task Scheduler security database for the task indicated.
*
*/
SCHED_E_ACCOUNT_INFORMATION_NOT_SET,
/**
* The object is either an invalid task object or is not a task object.
*
*/
SCHED_E_INVALID_TASK,
/**
* The task object could not be opened.
*
*/
SCHED_E_CANNOT_OPEN_TASK,
/**
* The Task Scheduler service is not installed on this computer.
*
*/
SCHED_E_SERVICE_NOT_INSTALLED,
/**
* There is no running instance of the task.
*
*/
SCHED_E_TASK_NOT_RUNNING,
/**
* One or more of the properties required to run this task have not been set.
*
*/
SCHED_E_TASK_NOT_READY,
/**
* A task's trigger is not found.
*
*/
SCHED_E_TRIGGER_NOT_FOUND,
/**
* Event triggers do not have set run times.
*
*/
SCHED_S_EVENT_TRIGGER,
/**
* Either the task has no triggers or the existing triggers are disabled or not set.
*
*/
SCHED_S_TASK_NO_VALID_TRIGGERS,
/**
* The last run of the task was terminated by the user.
*
*/
SCHED_S_TASK_TERMINATED,
/**
* There are no more runs scheduled for this task.
*
*/
SCHED_S_TASK_NO_MORE_RUNS,
/**
* The task has not been run. This value is returned whenever the task has not been run, even if the task is ready to be run at the next scheduled time or the task is a recurring task.
*
*/
SCHED_S_TASK_HAS_NOT_RUN,
/**
* The task will not run at the scheduled times because it has been disabled.
*
*/
SCHED_S_TASK_DISABLED,
/**
* The state of the task is unknown.
*
*/
TASK_STATE_UNKNOWN,
/**
* Instances of the task are queued.
*
*/
TASK_STATE_QUEUED;
public String value() {
return name();
}
public static TaskStatusEnum fromValue(String v) {
return valueOf(v);
}
}