org.camunda.bpm.cycle.entity
Enum BpmnDiagram.Status
java.lang.Object
java.lang.Enum<BpmnDiagram.Status>
org.camunda.bpm.cycle.entity.BpmnDiagram.Status
- All Implemented Interfaces:
- Serializable, Comparable<BpmnDiagram.Status>
- Enclosing class:
- BpmnDiagram
public static enum BpmnDiagram.Status
- extends Enum<BpmnDiagram.Status>
This enum represents the status of a
BPMN 2.0 diagram from the perspective of the application.
A diagram may have the following states
UNSPECIFIED:
the status is not currently known, because it
was never checked or is about to be checked#
UNAVAILABLE:
the status is unavailable because the connector is not available,
the connection to the connector cannot be established or the
diagram is missing in the connector
OUT_OF_SYNC:
the diagram is available but out of sync, that is
changed since it was last handled by cycle
SYNCHED:
the diagram is totally fine and thus is cycle
UNSPECIFIED
public static final BpmnDiagram.Status UNSPECIFIED
UNAVAILABLE
public static final BpmnDiagram.Status UNAVAILABLE
OUT_OF_SYNC
public static final BpmnDiagram.Status OUT_OF_SYNC
SYNCED
public static final BpmnDiagram.Status SYNCED
values
public static BpmnDiagram.Status[] 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 (BpmnDiagram.Status c : BpmnDiagram.Status.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static BpmnDiagram.Status valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2014 camunda services GmbH. All rights reserved.