public class BpmnExecutionFeature
extends jadex.bridge.component.impl.ExecutionComponentFeature
jadex.bridge.component.impl.ExecutionComponentFeature.ExecuteWaitForStep, jadex.bridge.component.impl.ExecutionComponentFeature.StepInfo, jadex.bridge.component.impl.ExecutionComponentFeature.TimerWrapper
Modifier and Type | Field and Description |
---|---|
protected boolean |
finishing
The finished flag.
|
protected boolean |
started
The started flag.
|
available, blocked, bootstrap, bpstepid, componentthread, DEBUG, endagenda, endstepcnt, executing, notifications, parenta, stepadditions, stepcnt, stepfuture, stepinfo, steps, subcomponents, timers, TYPE_STEP
cinfo, component, guesser
Constructor and Description |
---|
BpmnExecutionFeature(jadex.bridge.IInternalAccess component,
jadex.bridge.component.ComponentCreationInfo cinfo)
Create the feature.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addStep(jadex.bridge.component.impl.ExecutionComponentFeature.StepInfo step)
Add a check to ensure that no thread gets scheduled twice.
|
jadex.commons.future.IFuture<java.lang.Void> |
body()
Execute the main activity of the feature.
|
protected boolean |
executeCycle()
Components with autonomous behavior may override this method
to implement a recurring execution cycle.
|
protected jadex.bpmn.model.MBpmnModel |
getModel()
Get the model.
|
jadex.commons.future.IFuture<java.lang.Void> |
shutdown()
Shutdown the feature.
|
boolean |
testIfBreakpoint(java.lang.String[] breakpoints)
Kernel specific test if the step is a breakpoint.
|
addSubcomponent, afterBlock, beforeBlock, block, createInstance, createResultListener, createResultListener, createStepFuture, doStep, execute, getCurrentStateEvents, getCurrentSteps, getEndstateStart, getStepDetails, getType, isAtBreakpoint, isComponentThread, publishStepEvent, removeStep, removeSubcomponent, repeatStep, repeatStep, scheduleStep, scheduleStep, toString, unblock, waitForDelay, waitForDelay, waitForDelay, waitForDelay, waitForTick, waitForTick, wakeup
protected boolean started
protected boolean finishing
public BpmnExecutionFeature(jadex.bridge.IInternalAccess component, jadex.bridge.component.ComponentCreationInfo cinfo)
public jadex.commons.future.IFuture<java.lang.Void> body()
body
in interface jadex.bridge.component.IComponentFeature
body
in class jadex.bridge.component.impl.AbstractComponentFeature
public jadex.commons.future.IFuture<java.lang.Void> shutdown()
shutdown
in interface jadex.bridge.component.IComponentFeature
shutdown
in class jadex.bridge.component.impl.ExecutionComponentFeature
protected void addStep(jadex.bridge.component.impl.ExecutionComponentFeature.StepInfo step)
addStep
in class jadex.bridge.component.impl.ExecutionComponentFeature
protected boolean executeCycle()
executeCycle
in class jadex.bridge.component.impl.ExecutionComponentFeature
protected jadex.bpmn.model.MBpmnModel getModel()
public boolean testIfBreakpoint(java.lang.String[] breakpoints)
testIfBreakpoint
in class jadex.bridge.component.impl.ExecutionComponentFeature