Enum WorkItemStatus
- java.lang.Object
-
- java.lang.Enum<WorkItemStatus>
-
- com.opentext.livelink.service.workflowservice.WorkItemStatus
-
- All Implemented Interfaces:
IServiceDataObject
,java.io.Serializable
,java.lang.Comparable<WorkItemStatus>
public enum WorkItemStatus extends java.lang.Enum<WorkItemStatus> implements IServiceDataObject, java.io.Serializable
WorkItemStatus defines the status values for a WorkItem.- Version:
- 2013-08-26
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Deleted
The WorkItem is deleted.Done
The WorkItem is done.Executing
The WorkItem is executing.Finished
The WorkItem is finished.Killed
The WorkItem is killed.Ready
The WorkItem is ready.ReadyBackground
The WorkItem is ready for a background task.SendingOn
The WorkItem is sending on.Started
The WorkItem is started.Suspended
The WorkItem is suspended.Unknown
The status value is unknown to this API.Waiting
The WorkItem is waiting.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkItemStatus
fromString(java.lang.String s)
Returns the enum constant with the specified name.void
load(com.opentext.api.LLValue value)
Deserialize an ServiceDataObject from an LLValue that is received from Livelink.com.opentext.api.LLValue
toLLValue()
Serialize an SDO object to an LLValue that can be sent to Livelink.static WorkItemStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WorkItemStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Deleted
public static final WorkItemStatus Deleted
The WorkItem is deleted.
-
Done
public static final WorkItemStatus Done
The WorkItem is done.
-
Executing
public static final WorkItemStatus Executing
The WorkItem is executing.
-
Finished
public static final WorkItemStatus Finished
The WorkItem is finished.
-
Killed
public static final WorkItemStatus Killed
The WorkItem is killed.
-
Ready
public static final WorkItemStatus Ready
The WorkItem is ready.
-
ReadyBackground
public static final WorkItemStatus ReadyBackground
The WorkItem is ready for a background task.
-
SendingOn
public static final WorkItemStatus SendingOn
The WorkItem is sending on.
-
Started
public static final WorkItemStatus Started
The WorkItem is started.
-
Suspended
public static final WorkItemStatus Suspended
The WorkItem is suspended.
-
Unknown
public static final WorkItemStatus Unknown
The status value is unknown to this API.
-
Waiting
public static final WorkItemStatus Waiting
The WorkItem is waiting.
-
-
Method Detail
-
values
public static WorkItemStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WorkItemStatus c : WorkItemStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkItemStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
load
public void load(com.opentext.api.LLValue value)
Description copied from interface:IServiceDataObject
Deserialize an ServiceDataObject from an LLValue that is received from Livelink. The LLValue is an Assoc that contains all of the features of this SDO. These features may refer to other SDOs and contain arrays of primitive values or SDOs. Each referenced SDO, will have its load() method called as well. Note: this is an internal method not meant to be called by clients.- Specified by:
load
in interfaceIServiceDataObject
- Parameters:
value
- the LLValue containing the data to be loaded
-
toLLValue
public com.opentext.api.LLValue toLLValue()
Description copied from interface:IServiceDataObject
Serialize an SDO object to an LLValue that can be sent to Livelink. Each feature of the SDO is stored in a key of the LLValue Assoc. Any references to other SDOs cause their toLLValue() method to be called. Note: this is an internal method not meant to be called by clients.- Specified by:
toLLValue
in interfaceIServiceDataObject
- Returns:
- Returns the LLValue object that represents this SDO
-
fromString
public static WorkItemStatus fromString(java.lang.String s)
Returns the enum constant with the specified name.
-
-