|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProcessDefinition
This interface represents the Process definition. It's derived from the WorkflowProcess of XPDL.
| Nested Class Summary | |
|---|---|
static class |
ProcessDefinition.ProcessState
Process state are used to define the process life cycle. A process can be enable, disable several times. |
| Method Summary | |
|---|---|
java.util.Set<ActivityDefinition> |
getActivities()
Gets the process activities. |
ActivityDefinition |
getActivity(java.lang.String name)
Returns the activity with the given name. |
java.lang.String |
getAMetaData(java.lang.String key)
Gets a meta-data of the process according to its key. |
AttachmentDefinition |
getAttachment(java.lang.String name)
Gets an attachment of the process according to its name |
java.util.Map<java.lang.String,AttachmentDefinition> |
getAttachments()
Gets the attachments of the process |
java.util.Set<java.lang.String> |
getClassDependencies()
Returns class dependencies (java classes used by connectors). |
java.util.List<HookDefinition> |
getConnectors()
Obtains process connectors. |
DataFieldDefinition |
getDatafield(java.lang.String name)
Gets a dataField according to its name |
java.util.Set<DataFieldDefinition> |
getDataFields()
Gets process dataFields. |
java.util.Map<java.lang.String,ActivityDefinition> |
getFinalActivities()
Gets the final activities. |
java.util.Map<java.lang.String,ActivityDefinition> |
getInitialActivities()
Gets the initial activities. |
java.util.Set<IterationDescriptor> |
getIterationDescriptors()
Gets the iteration descriptors. |
java.util.Set<IterationDescriptor> |
getIterationDescriptors(java.lang.String activityName)
Gets iteration descriptors according to the activity name |
java.util.Map<java.lang.String,java.lang.String> |
getMetaData()
Gets all meta-data of the process. |
java.util.Set<ParticipantDefinition> |
getParticipants()
Gets the participants of the process. |
java.util.Set<java.lang.String> |
getProcessDependencies()
Gets the process dependencies (sub-processes) of this process. Note: If a sub-process of this process is defined in another process, it is not possible to undeploy these sub-processes until this process is undeployed. |
java.util.Set<java.lang.String> |
getSubProcesses()
Gets the process sub-processes. |
java.util.Set<TransitionDefinition> |
getTransitions()
Gets the process transitions. |
| Methods inherited from interface org.ow2.bonita.light.LightProcessDefinition |
|---|
getDeployedBy, getDeployedDate, getState, getUndeployedBy, getUndeployedDate, getUUID, getVersion |
| Methods inherited from interface org.ow2.bonita.facade.def.majorElement.NamedElement |
|---|
getLabel, getName |
| Methods inherited from interface org.ow2.bonita.facade.def.majorElement.DescriptionElement |
|---|
getDescription |
| Method Detail |
|---|
java.util.Map<java.lang.String,java.lang.String> getMetaData()
java.lang.String getAMetaData(java.lang.String key)
key - the key of the meta-data
java.util.Map<java.lang.String,AttachmentDefinition> getAttachments()
AttachmentDefinition getAttachment(java.lang.String name)
name - the attachment name
java.util.List<HookDefinition> getConnectors()
java.util.Set<DataFieldDefinition> getDataFields()
java.util.Set<ParticipantDefinition> getParticipants()
java.util.Set<ActivityDefinition> getActivities()
java.util.Set<TransitionDefinition> getTransitions()
java.util.Set<java.lang.String> getSubProcesses()
java.util.Set<java.lang.String> getProcessDependencies()
java.util.Set<java.lang.String> getClassDependencies()
ActivityDefinition getActivity(java.lang.String name)
name - the activity name
DataFieldDefinition getDatafield(java.lang.String name)
name - the dataField name
java.util.Map<java.lang.String,ActivityDefinition> getInitialActivities()
java.util.Map<java.lang.String,ActivityDefinition> getFinalActivities()
java.util.Set<IterationDescriptor> getIterationDescriptors()
java.util.Set<IterationDescriptor> getIterationDescriptors(java.lang.String activityName)
activityName - the activity name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||