@UESComponent @WebServiceAccessible(wspHandlerChain="ues/platform/process/UESProcessControllerHandlerChain.xml") public interface UESProcessController
Modifier and Type | Method and Description |
---|---|
void |
allocate(UESURI processUri,
Initializes process by allocating existing process instance and associating it with current PCB.
|
UESURI |
create(UESURI useCaseUri,
Creates new instance of process and associates it with executed use case.
|
void |
done(UESURI processUri,
Sets result of process and marks it as completed.
|
void |
fireEvent(UESURI processUri,
Method is used to send events from process.
|
UESURI |
getCurrentProcessUri()
Returns UESURI of currently active process (process associated with active PCB).
|
void |
release(UESURI processUri,
Finalizes process execution.
|
void |
setContextParameter(UESURI processUri,
Sets parameter on process context.
|
void |
start(UESURI processUri,
User initialization of process representing beginning of use case execution.
|
useCaseUri
- UESURI of use case executed in process.mainEntityUri
- UESURI of main entity associated with process.parentProcessUri
- UESURI of parent process (if parent process URI is not given, process
monitoring will be initialized without reference to parent process and thus this subprocess
will not be accessible from parent process)message
- Optional message announcing process creationUESProcessControllerRTException
- In case creating of process failsprocessUri
- UESURI of processname
- Name of context parametervalue
- Value of context parameterUESProcessControllerRTException
- In case initialization of context is not possibleprocessUri
- UESURI of processmessage
- Optional message announcing process allocationUESProcessControllerRTException
- In case allocating of process failsprocessUri
- UESURI of process UESURI of processmessage
- Optional message announcing process/use case starttotalWorkUnits
- Total work units to be done by process/use caseprocessUri
- UESURI of processprocessEvent
- Fired event (instance of UESProcessEvent
)processUri
- UESURI of processexitState
- Exit stateprocessEvent
- Process event to be fired instead of system default event (not all event attributes can be overloaded)processUri
- UESURI of processexitState
- Exit state (state is used for system invocation of done method in case it was not called within use case)processEvent
- Process event to be fired instead of system default event (not all event attributes can be overloaded)