public abstract class StateBase extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ProcessStepInstanceImplCustomBase |
processStep
Underlying process step.
|
| Constructor and Description |
|---|
StateBase(ProcessStepInstanceImplCustomBase processStep) |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy(eu.vicci.process.model.sofiainstance.MappingUtil mappingUtil,
akka.actor.ActorRef parent)
Deployes the ProcessStep if it is undeployed and sets its state to
inactive.
|
void |
escalate() |
boolean |
execute()
Executes the process step and sets its state t o active, if not all
startports are active or to executing, if all startports are active.
|
abstract eu.vicci.process.model.sofiainstance.State |
getSimpleState()
Return the simple enum state of this state
|
boolean |
hasFinishedExecution()
Gets the information, whether the process step is finished or has to do
more operations.
|
void |
kill()
Kills a process step and sets its state to killed.
|
void |
pause()
Pauses a process step and sets its state to paused.
|
void |
portExecutionStateChanged(eu.vicci.process.model.sofiainstance.PortInstance port) |
void |
processExecuted(ProcessStepInstanceImplCustom process)
Informs this process that a sub process or a other process, which has the
current process registered as a listener, has finished execution
|
void |
processReset(ProcessStepInstanceImplCustom process) |
void |
reset()
Resets the process state and the states from all substeps
|
void |
resume()
Resumes a process step and sets its state to the state before paused.
|
void |
stop()
Stops a process step
|
void |
work()
Working Method
|
protected final ProcessStepInstanceImplCustomBase processStep
public StateBase(ProcessStepInstanceImplCustomBase processStep)
public void deploy(eu.vicci.process.model.sofiainstance.MappingUtil mappingUtil,
akka.actor.ActorRef parent)
mappingUtil - public boolean execute()
public void kill()
public void pause()
public void resume()
public void stop()
public void work()
public void escalate()
public void processExecuted(ProcessStepInstanceImplCustom process)
process - public void processReset(ProcessStepInstanceImplCustom process)
public boolean hasFinishedExecution()
public void reset()
public void portExecutionStateChanged(eu.vicci.process.model.sofiainstance.PortInstance port)
public abstract eu.vicci.process.model.sofiainstance.State getSimpleState()
Copyright © 2018. All rights reserved.