|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActivityDefinition
This interface represents the Activity definition. It's derived from the Process Activity Definition of XPDL.
Nested Class Summary | |
---|---|
static class |
ActivityDefinition.FinishMode
Not supported (because XPDL is not clear enough for this parameter). |
static interface |
ActivityDefinition.IterationDef
Interface for Iteration definition. |
static class |
ActivityDefinition.JoinType
Join types supported by Bonita. |
static class |
ActivityDefinition.SplitType
Split types supported by Bonita. |
static class |
ActivityDefinition.StartMode
StartMode parameter determines whether the activity is automatically started by the engine or not. |
Method Summary | |
---|---|
void |
addConnector(HookDefinition connector)
|
void |
addData(DataFieldDefinition data)
|
void |
addDeadline(DeadlineDefinition deadline)
|
void |
addIteration(ActivityDefinition.IterationDef iteration)
|
java.lang.String |
getActivityId()
Returns the value of the id attribute of the Activity element defined into the XPDL file. |
java.util.Set<DataFieldDefinition> |
getDataFields()
Bonita engine allows to specify datafields for activities. |
java.util.Set<DeadlineDefinition> |
getDeadlines()
Deadlines are used to execute a specified java class upon the expiration of a specified period of time. |
java.lang.String |
getDescription()
Short textual description of the activity. |
ActivityDefinition.FinishMode |
getFinishMode()
Not supported. |
java.util.Set<HookDefinition> |
getHooks()
Hooks are user defined logic that can be triggered at some points of the life of the activity. Those points are: taskOnReady taskOnStart taskOnFinish If the activity has startMode=Manual then these points of the life of the activity is synchronized with ones of the task. |
java.util.Set<ActivityDefinition.IterationDef> |
getIterations()
|
ActivityDefinition.JoinType |
getJoinType()
Returns Join Type definition. |
MultiInstantiationDefinition |
getMultiInstantiationDefinition()
|
java.lang.String |
getPerformer()
Returns the performer of the activity. |
PerformerAssignDefinition |
getPerformerAssign()
Performer assignment allows to perform various assignment rules within the task module. All the users defined into the role type can see and execute this one. |
ActivityDefinition.SplitType |
getSplitType()
Returns Split Type definition. |
ActivityDefinition.StartMode |
getStartMode()
If StartMode=Manual a task entity is created by the engine and stored in the task repository and is waiting to be take in account by an end user. If StartMode=Automatic no task is created. |
SubFlowDefinition |
getSubFlow()
Returns the SubFlowDefinition interface if this activity has subflow implementation otherwise returns null. |
ActivityDefinitionUUID |
getUUID()
Returns the UUID for the ActivityDefinition. |
boolean |
isAsynchronous()
|
boolean |
isNoImplementation()
Activity can be defined either with Route or Implementation or BlockActivity element. |
boolean |
isRoute()
Activity can be defined either with Route or Implementation or BlockActivity element. |
void |
setAsynchronous(boolean asynchronous)
|
void |
setDescription(java.lang.String description)
|
void |
setFilter(PerformerAssignDefinition filter)
|
void |
setJoinType(ActivityDefinition.JoinType join)
|
void |
setMultiInstanciation(MultiInstantiationDefinition multiInstanciation)
|
void |
setSplitType(ActivityDefinition.SplitType split)
|
void |
setUUID(ActivityDefinitionUUID uuid)
|
Methods inherited from interface org.ow2.bonita.facade.def.majorElement.ProcessElement |
---|
getProcessDefinitionUUID, setProcessDefinitionUUID |
Methods inherited from interface org.ow2.bonita.facade.def.majorElement.NamedElement |
---|
getName |
Method Detail |
---|
ActivityDefinitionUUID getUUID()
java.lang.String getActivityId()
java.lang.String getDescription()
boolean isRoute()
boolean isNoImplementation()
SubFlowDefinition getSubFlow()
java.lang.String getPerformer()
ActivityDefinition.StartMode getStartMode()
StartMode enumeration
value.ActivityDefinition.FinishMode getFinishMode()
java.util.Set<DeadlineDefinition> getDeadlines()
java.util.Set<DataFieldDefinition> getDataFields()
java.util.Set<HookDefinition> getHooks()
PerformerAssignDefinition getPerformerAssign()
java.util.Set<ActivityDefinition.IterationDef> getIterations()
MultiInstantiationDefinition getMultiInstantiationDefinition()
ActivityDefinition.JoinType getJoinType()
ActivityDefinition.SplitType getSplitType()
boolean isAsynchronous()
void setUUID(ActivityDefinitionUUID uuid)
void setAsynchronous(boolean asynchronous)
void addIteration(ActivityDefinition.IterationDef iteration)
void setSplitType(ActivityDefinition.SplitType split)
void setJoinType(ActivityDefinition.JoinType join)
void setDescription(java.lang.String description)
void setFilter(PerformerAssignDefinition filter)
void setMultiInstanciation(MultiInstantiationDefinition multiInstanciation)
void addDeadline(DeadlineDefinition deadline)
void addConnector(HookDefinition connector)
void addData(DataFieldDefinition data)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |