Class WorkflowEngine
java.lang.Object
com.adobe.cq.testing.client.workflow.WorkflowEngine
Simple helper class to get all available infos return from the workflow engine. The class is initialised by a call
to
WorkflowClient.getWorkflowEngineInfo(int...).-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe id given to the workflow componentstatic final StringThe name of hte OSGi Component that implements this servicestatic final StringDescription of the workflow servicestatic final StringThe process id of the workflow engine servicestatic final StringName of the Vendor for this workflow servicestatic final StringProperty that contains the state of the workflow engine. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturns list of all properties.getProperty(String propName) returns the value of an engine property or null if not defined.
-
Field Details
-
STATE
Property that contains the state of the workflow engine. The possible states equal the OSGi Service states: "ACTIVE", "ACTIVATING","DEACTIVATING","DESTROYED","DISABLED","ENABLED","REGISTERED","UNSATISFIED"- See Also:
-
SERVICE_VENDOR
Name of the Vendor for this workflow service- See Also:
-
SERVICE_PID
The process id of the workflow engine service- See Also:
-
SERVICE_DESCR
Description of the workflow service- See Also:
-
COMPONENT_NAME
The name of hte OSGi Component that implements this service- See Also:
-
COMPONENT_ID
The id given to the workflow component- See Also:
-
-
Constructor Details
-
WorkflowEngine
Teh only constructor- Parameters:
prop- the properties list returned by requesting the server.
-
-
Method Details
-
getProperty
returns the value of an engine property or null if not defined.- Parameters:
propName- name of the property- Returns:
- the value of the requested property
-
getAllProperties
returns list of all properties.- Returns:
- a map of all properties, where the key is the name of the property.
-