|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.bonita.facade.def.majorElement.impl.NamedElementImpl
org.ow2.bonita.facade.def.majorElement.impl.ProcessElementImpl
org.ow2.bonita.facade.def.majorElement.impl.ActivityDefinitionImpl
public class ActivityDefinitionImpl
Nested Class Summary | |
---|---|
static class |
ActivityDefinitionImpl.IterationDefinitionImpl
|
Nested classes/interfaces inherited from interface org.ow2.bonita.facade.def.majorElement.ActivityDefinition |
---|
ActivityDefinition.FinishMode, ActivityDefinition.IterationDef, ActivityDefinition.JoinType, ActivityDefinition.SplitType, ActivityDefinition.StartMode |
Field Summary | |
---|---|
protected java.lang.String |
activityId
|
protected MultiInstantiationDefinition |
activityInstantiator
|
protected boolean |
asynchronous
|
protected java.util.Set<DataFieldDefinition> |
dataFields
|
protected java.util.Set<DeadlineDefinition> |
deadlines
|
protected java.lang.String |
description
|
protected ActivityDefinition.FinishMode |
finishMode
|
protected java.util.Set<HookDefinition> |
hooks
|
protected java.util.Set<ActivityDefinition.IterationDef> |
iterations
|
protected ActivityDefinition.JoinType |
joinType
|
protected boolean |
noImplementation
|
protected java.lang.String |
performer
|
protected PerformerAssignDefinition |
performerAssign
|
protected boolean |
route
|
protected ActivityDefinition.SplitType |
splitType
|
protected ActivityDefinition.StartMode |
startMode
|
protected SubFlowDefinition |
subFlow
|
protected ActivityDefinitionUUID |
uuid
|
Fields inherited from class org.ow2.bonita.facade.def.majorElement.impl.ProcessElementImpl |
---|
processDefinitionUUID |
Fields inherited from class org.ow2.bonita.facade.def.majorElement.impl.NamedElementImpl |
---|
name |
Constructor Summary | |
---|---|
protected |
ActivityDefinitionImpl()
|
|
ActivityDefinitionImpl(ActivityDefinition src)
|
|
ActivityDefinitionImpl(ActivityDefinitionUUID activityDefinitionUUID,
java.lang.String activityId,
ProcessDefinitionUUID processUUID,
java.util.Set<DeadlineDefinition> deadlines,
java.lang.String description,
ActivityDefinition.FinishMode finishMode,
java.lang.String name,
java.lang.String performer,
ActivityDefinition.StartMode startMode,
SubFlowDefinition subFlow,
boolean noImplementation,
boolean route,
java.util.Set<HookDefinition> hooks,
PerformerAssignDefinition performerAssign,
java.util.Set<DataFieldDefinition> dataFields,
java.util.Set<ActivityDefinition.IterationDef> iterations,
MultiInstantiationDefinition activityInstantiator,
boolean asynchronous,
ActivityDefinition.JoinType joinType,
ActivityDefinition.SplitType splitType)
|
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 class org.ow2.bonita.facade.def.majorElement.impl.ProcessElementImpl |
---|
getProcessDefinitionUUID, setProcessDefinitionUUID |
Methods inherited from class org.ow2.bonita.facade.def.majorElement.impl.NamedElementImpl |
---|
getName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 |
Field Detail |
---|
protected ActivityDefinitionUUID uuid
protected java.lang.String activityId
protected java.util.Set<DeadlineDefinition> deadlines
protected java.lang.String description
protected ActivityDefinition.FinishMode finishMode
protected java.lang.String performer
protected ActivityDefinition.StartMode startMode
protected SubFlowDefinition subFlow
protected ActivityDefinition.JoinType joinType
protected ActivityDefinition.SplitType splitType
protected boolean noImplementation
protected boolean route
protected java.util.Set<HookDefinition> hooks
protected PerformerAssignDefinition performerAssign
protected java.util.Set<DataFieldDefinition> dataFields
protected java.util.Set<ActivityDefinition.IterationDef> iterations
protected MultiInstantiationDefinition activityInstantiator
protected boolean asynchronous
Constructor Detail |
---|
protected ActivityDefinitionImpl()
public ActivityDefinitionImpl(ActivityDefinitionUUID activityDefinitionUUID, java.lang.String activityId, ProcessDefinitionUUID processUUID, java.util.Set<DeadlineDefinition> deadlines, java.lang.String description, ActivityDefinition.FinishMode finishMode, java.lang.String name, java.lang.String performer, ActivityDefinition.StartMode startMode, SubFlowDefinition subFlow, boolean noImplementation, boolean route, java.util.Set<HookDefinition> hooks, PerformerAssignDefinition performerAssign, java.util.Set<DataFieldDefinition> dataFields, java.util.Set<ActivityDefinition.IterationDef> iterations, MultiInstantiationDefinition activityInstantiator, boolean asynchronous, ActivityDefinition.JoinType joinType, ActivityDefinition.SplitType splitType)
public ActivityDefinitionImpl(ActivityDefinition src)
Method Detail |
---|
public java.util.Set<DeadlineDefinition> getDeadlines()
ActivityDefinition
getDeadlines
in interface ActivityDefinition
public java.lang.String getDescription()
ActivityDefinition
getDescription
in interface ActivityDefinition
public ActivityDefinition.FinishMode getFinishMode()
ActivityDefinition
getFinishMode
in interface ActivityDefinition
public java.lang.String getPerformer()
ActivityDefinition
getPerformer
in interface ActivityDefinition
public ActivityDefinition.StartMode getStartMode()
ActivityDefinition
getStartMode
in interface ActivityDefinition
StartMode enumeration
value.public SubFlowDefinition getSubFlow()
ActivityDefinition
getSubFlow
in interface ActivityDefinition
public boolean isNoImplementation()
ActivityDefinition
isNoImplementation
in interface ActivityDefinition
public boolean isRoute()
ActivityDefinition
isRoute
in interface ActivityDefinition
public java.util.Set<HookDefinition> getHooks()
ActivityDefinition
getHooks
in interface ActivityDefinition
public PerformerAssignDefinition getPerformerAssign()
ActivityDefinition
getPerformerAssign
in interface ActivityDefinition
public java.util.Set<DataFieldDefinition> getDataFields()
ActivityDefinition
getDataFields
in interface ActivityDefinition
public java.util.Set<ActivityDefinition.IterationDef> getIterations()
getIterations
in interface ActivityDefinition
public java.lang.String getActivityId()
ActivityDefinition
getActivityId
in interface ActivityDefinition
public ActivityDefinitionUUID getUUID()
ActivityDefinition
getUUID
in interface ActivityDefinition
public MultiInstantiationDefinition getMultiInstantiationDefinition()
getMultiInstantiationDefinition
in interface ActivityDefinition
public boolean isAsynchronous()
isAsynchronous
in interface ActivityDefinition
public ActivityDefinition.JoinType getJoinType()
ActivityDefinition
getJoinType
in interface ActivityDefinition
public ActivityDefinition.SplitType getSplitType()
ActivityDefinition
getSplitType
in interface ActivityDefinition
public void addData(DataFieldDefinition data)
addData
in interface ActivityDefinition
public void setDescription(java.lang.String description)
setDescription
in interface ActivityDefinition
public void setFilter(PerformerAssignDefinition filter)
setFilter
in interface ActivityDefinition
public void setMultiInstanciation(MultiInstantiationDefinition multiInstanciation)
setMultiInstanciation
in interface ActivityDefinition
public void addDeadline(DeadlineDefinition deadline)
addDeadline
in interface ActivityDefinition
public void addConnector(HookDefinition connector)
addConnector
in interface ActivityDefinition
public void setJoinType(ActivityDefinition.JoinType join)
setJoinType
in interface ActivityDefinition
public void setSplitType(ActivityDefinition.SplitType split)
setSplitType
in interface ActivityDefinition
public void addIteration(ActivityDefinition.IterationDef iteration)
addIteration
in interface ActivityDefinition
public void setAsynchronous(boolean asynchronous)
setAsynchronous
in interface ActivityDefinition
public void setUUID(ActivityDefinitionUUID uuid)
setUUID
in interface ActivityDefinition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |