Package ch.ivyteam.ivy.workflow
Enum CaseState
- java.lang.Object
-
- java.lang.Enum<CaseState>
-
- ch.ivyteam.ivy.workflow.CaseState
-
- All Implemented Interfaces:
ch.ivyteam.ivy.persistence.IPersistentEnumeration
,Serializable
,Comparable<CaseState>
public enum CaseState extends Enum<CaseState> implements ch.ivyteam.ivy.persistence.IPersistentEnumeration
The state of the case- Since:
- 17.05.2006
- API:
- This is a public API.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATED
Created means the Case has bean started and is currently in progress in its first Task.DESTROYED
Destroyed means somebody destroyed the case, in order to stop any work on it.DONE
Done means all Tasks of the Case are done.RUNNING
Running means the Case is in progress.ZOMBIE
Cases inCREATED
which have no Task to work on them become Zombies.
-
-
-
Enum Constant Detail
-
CREATED
public static final CaseState CREATED
Created means the Case has bean started and is currently in progress in its first Task. When the first task is finished, it becomes eitherRUNNING
if it has other Tasks orDONE
if it had only this one Task. If the user does not finish the first Task (eg. Session Timeout) the Case becomes aZOMBIE
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
RUNNING
public static final CaseState RUNNING
Running means the Case is in progress. The Case has at least one Task which is not yet finished.- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
DONE
public static final CaseState DONE
Done means all Tasks of the Case are done. There is no work left for this case.- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
DESTROYED
public static final CaseState DESTROYED
Destroyed means somebody destroyed the case, in order to stop any work on it. A Case can be destroyed by calling theICase.destroy()
method, or by destroying all running tasks of the Case.- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
ZOMBIE
public static final CaseState ZOMBIE
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
-