public class ProcessStepUtil extends Object
| Constructor and Description |
|---|
ProcessStepUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
activateControlEndPorts(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst)
Activating outgoing control ports.
|
static void |
activateDataEndPorts(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst)
Activating outgoing data ports.
This method fills all EndDataPorts with their respective information simply by matching the names of all items of the field 'returnValue' and the names of the data fields of all EndDataPorts. |
static void |
aggregateStartParameter(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst)
Getting the parameter from StartDataPorts.
This method aggregates all parameters from all StartDataPorts and provides them by filling the field StartParameter. |
static boolean |
allPortsActive(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst)
Checks if the AND aspect of the ProcessStep is full filled, meaning
whether all in going Ports are activated.
|
static void |
cancelTimer(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst)
Canceling timer to give free resources and to let the application
terminate correctly.
|
static void |
changeExecutionState(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst,
eu.vicci.process.model.sofiainstance.State state)
Changing execution state.
This method sets the ExecutionState and can be used to perform standard behavior related to execution state changes like informing the user interfaces. |
static void |
configure(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst,
eu.vicci.process.model.sofiainstance.Configuration conf) |
static void |
consoleOutput(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst,
String info) |
static void |
deploy(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst,
eu.vicci.process.model.sofiainstance.MappingUtil mapper) |
static boolean |
execute(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst) |
static void |
executeDelay(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst)
Delays the execution for a certain time span.
|
static void |
forwardReactivation(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst)
Forwards a start or execute call in the case that the ProcessStep is in
state EXECUTED.
This method is used to propagate the reactivating start or execute call after the entire process had been paused or stopped. |
static void |
setDelay(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst,
long newDelay)
Setting an new delay.
|
static void |
setPermission(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst,
eu.vicci.process.model.sofiainstance.ExecutionPermission newPermission)
Setting the a new execution permission.
|
static void |
startSubProcesses(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst)
Telling the StartPorts to execute linked SubProcessSteps.
|
public static boolean execute(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst)
public static void setPermission(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst,
eu.vicci.process.model.sofiainstance.ExecutionPermission newPermission)
inst - The ProcessStep instance that is delegating the work.newPermission - The new execution permissionpublic static void setDelay(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst,
long newDelay)
inst - The ProcessStep instance that is delegating the work.newDelay - The new delay in milliseconds.public static boolean allPortsActive(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst)
inst - The ProcessStep instance that is delegating the work.public static void forwardReactivation(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst)
inst - The ProcessStep instance that is delegating the work.public static void changeExecutionState(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst,
eu.vicci.process.model.sofiainstance.State state)
state - The new ExecutionStateinst - The ProcessStep instance that is delegating the work.public static void startSubProcesses(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst)
inst - The ProcessStep instance that is delegating the work.public static void cancelTimer(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst)
inst - The ProcessStep instance that is delegating the work.public static void aggregateStartParameter(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst)
inst - The ProcessStep instance that is delegating the work.public static void activateDataEndPorts(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst)
inst - The ProcessStep instance that is delegating the work.public static void activateControlEndPorts(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst)
inst - The ProcessStep instance that is delegating the work.public static void executeDelay(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst)
inst - The ProcessStep instance that is delegating the work.public static void deploy(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst,
eu.vicci.process.model.sofiainstance.MappingUtil mapper)
public static void configure(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst,
eu.vicci.process.model.sofiainstance.Configuration conf)
public static void consoleOutput(eu.vicci.process.model.sofiainstance.ProcessStepInstance inst,
String info)
Copyright © 2018. All rights reserved.