Package | Description |
---|---|
com.whitestein.lsps.engine |
The package contains common classes for LSPS expression interpretation.
|
com.whitestein.lsps.engine.lang | |
com.whitestein.lsps.engine.tester |
Testing support for testing engine tasks.
|
com.whitestein.lsps.human.task |
Implementations for the tasks in the LSPS standard library for human-oriented processes.
|
com.whitestein.lsps.orgstructure.task | |
com.whitestein.lsps.stdlib.task |
This package contains implementations of core tasks.
|
com.whitestein.lsps.ws.util | |
com.whitestein.lsps.wsclient.task | |
com.whitestein.lsps.wsserver.task | |
com.whitestein.lsps.xml.task |
Modifier and Type | Method and Description |
---|---|
Serializable |
AsynchronousExecutionTask.collectDataForExecution(TaskContext context)
Collects data from task context for asynchronous execution.
|
abstract Serializable |
AbstractAsynchronousExecutionTask.collectDataForExecution(TaskContext context) |
void |
EscalatableTask.escalate(TaskContext context,
String reason)
Task itself defines what is executed during escalation.
|
boolean |
AsynchronousExecutionTask.executeAsynchronously(TaskContext context)
Determines, based on current task context (params, metadata, etc.) if the exeuction
should be done asynchronously.
|
abstract boolean |
AbstractAsynchronousExecutionTask.executeAsynchronously(TaskContext context) |
Date |
EscalatableTask.getEscalationDate(TaskContext context)
Returns escalation timeout
|
void |
AsynchronousExecutionTask.processExecutionResult(TaskContext context,
Serializable result)
This method is called after the asynchronous execution has been done
|
abstract void |
AbstractAsynchronousExecutionTask.processExecutionResult(TaskContext context,
Serializable result) |
ExecutableTask.Result |
ExecutableTask.processInput(TaskContext context,
Object input)
The method for processing the model instance input.
|
ExecutableTask.Result |
TaskProxy.processInput(TaskContext context,
Object input) |
ExecutableTask.Result |
AbstractAsynchronousExecutionTask.processInput(TaskContext context,
Object input) |
void |
SuspendableTask.resume(TaskContext context)
Called when the model instance is resumed.
|
ExecutableTask.Result |
ExecutableTask.start(TaskContext context)
An initial method that is called when the task execution starts.
|
ExecutableTask.Result |
TaskProxy.start(TaskContext context) |
ExecutableTask.Result |
AbstractAsynchronousExecutionTask.start(TaskContext context) |
void |
SuspendableTask.suspend(TaskContext context)
Called when the model instance is suspended.
|
void |
ExecutableTask.terminate(TaskContext context,
TerminationReason reason)
Called when this task is to be terminated.
|
void |
TaskProxy.terminate(TaskContext context,
TerminationReason reason) |
void |
AbstractAsynchronousExecutionTask.terminate(TaskContext context,
TerminationReason reason) |
Modifier and Type | Class and Description |
---|---|
class |
TaskContextImpl |
Modifier and Type | Class and Description |
---|---|
class |
MockTaskContext |
Modifier and Type | Method and Description |
---|---|
ExecutableTask.Result |
TestRollbackExceptionTask.processInput(TaskContext context,
Object input) |
ExecutableTask.Result |
TestRollbackExceptionTask.start(TaskContext context) |
void |
TestRollbackExceptionTask.terminate(TaskContext context,
TerminationReason reason) |
Modifier and Type | Method and Description |
---|---|
protected Todo |
UserTask.addTodo(TaskContext context,
String type,
Serializable content) |
protected Todo |
CustomUIUserTask.addTodo(TaskContext context,
String type,
Serializable content) |
protected Todo |
BaseTodoTask.addTodo(TaskContext context,
String type,
Serializable content)
Creates a to-do (calls
BaseTodoTask.createTodo(TaskContext, String, Serializable) ) and adds the to-do
to the database. |
protected Serializable |
UserTask.createContent(TaskContext context) |
protected Serializable |
CustomUIWithContextUserTask.createContent(TaskContext context) |
protected Serializable |
CustomUIUserTask.createContent(TaskContext context) |
protected abstract Serializable |
BaseTodoTask.createContent(TaskContext context)
This method should return the todo content, it is called when starting a todo-task.
|
protected Todo |
BaseTodoTask.createTodo(TaskContext context,
String type,
Serializable content)
Creates a to-do and sets initial values.
|
void |
BaseTodoTask.escalate(TaskContext context,
String reason) |
Date |
BaseTodoTask.getEscalationDate(TaskContext context) |
protected Todo |
BaseTodoTask.getTodo(TaskContext context)
Returns the todo.ui
|
protected Long |
BaseTodoTask.getTodoId(TaskContext context)
Returns to-do id.
|
protected String |
UserTask.getType(TaskContext context) |
protected String |
CustomUIUserTask.getType(TaskContext context) |
protected abstract String |
BaseTodoTask.getType(TaskContext context)
This method should return the todo-task type.
|
ExecutableTask.Result |
SendEmail.processInput(TaskContext context,
Object input) |
ExecutableTask.Result |
HumanInteractionTask.processInput(TaskContext context,
Object input)
Deprecated.
|
ExecutableTask.Result |
BaseTodoTask.processInput(TaskContext context,
Object input) |
protected void |
UserTask.processReply(TaskContext context,
Object data) |
protected void |
BaseTodoTask.processReply(TaskContext context,
Object data)
Process the data submitted by the user.
|
protected String |
BaseTodoTask.removeTodo(TaskContext context,
TodoStatus status,
String interruptionReason)
Sets the status of the to-do.
|
void |
BaseTodoTask.resume(TaskContext context) |
ExecutableTask.Result |
SendEmail.start(TaskContext context) |
ExecutableTask.Result |
HumanInteractionTask.start(TaskContext context)
Deprecated.
|
ExecutableTask.Result |
BaseTodoTask.start(TaskContext context) |
void |
BaseTodoTask.suspend(TaskContext context) |
void |
SendEmail.terminate(TaskContext context,
TerminationReason reason) |
void |
HumanInteractionTask.terminate(TaskContext context,
TerminationReason reason)
Deprecated.
|
void |
BaseTodoTask.terminate(TaskContext context,
TerminationReason reason) |
Modifier and Type | Method and Description |
---|---|
ExecutableTask.Result |
RemovePersonFromRole.processInput(TaskContext context,
Object input) |
ExecutableTask.Result |
AddPersonToRole.processInput(TaskContext context,
Object input) |
ExecutableTask.Result |
RemovePersonFromRole.start(TaskContext context) |
ExecutableTask.Result |
AddPersonToRole.start(TaskContext context) |
void |
RemovePersonFromRole.terminate(TaskContext context,
TerminationReason reason) |
void |
AddPersonToRole.terminate(TaskContext context,
TerminationReason reason) |
Modifier and Type | Method and Description |
---|---|
static Object |
ParamUtil.getParameter(String name,
TaskContext context)
Gets the parameter from context.
|
Modifier and Type | Method and Description |
---|---|
Serializable |
WsSoapCall.collectDataForExecution(TaskContext context) |
Serializable |
HttpClientTask.collectDataForExecution(TaskContext context) |
boolean |
WsSoapCall.executeAsynchronously(TaskContext context) |
boolean |
HttpClientTask.executeAsynchronously(TaskContext context) |
protected WsSoapMessageBuilder |
WsSoapCall.getBuilder(TaskContext context) |
protected Type |
WsSoapCall.getInputType(TaskContext context) |
void |
WsSoapCall.processExecutionResult(TaskContext context,
Serializable data) |
void |
HttpClientTask.processExecutionResult(TaskContext context,
Serializable result) |
Modifier and Type | Method and Description |
---|---|
ExecutableTask.Result |
WsResponseTask.processInput(TaskContext context,
Object input) |
ExecutableTask.Result |
WsRequestWaitPointTask.processInput(TaskContext context,
Object in) |
ExecutableTask.Result |
RestResponseTask.processInput(TaskContext context,
Object input) |
ExecutableTask.Result |
RestRequestWaitpointTask.processInput(TaskContext context,
Object input) |
ExecutableTask.Result |
WsResponseTask.start(TaskContext context) |
ExecutableTask.Result |
WsRequestWaitPointTask.start(TaskContext context)
This method starts the task - it only register the WsRequestWaitPoint (i.e.
|
ExecutableTask.Result |
RestResponseTask.start(TaskContext context) |
ExecutableTask.Result |
RestRequestWaitpointTask.start(TaskContext context) |
void |
WsResponseTask.terminate(TaskContext context,
TerminationReason reason) |
void |
WsRequestWaitPointTask.terminate(TaskContext context,
TerminationReason reason) |
void |
RestResponseTask.terminate(TaskContext context,
TerminationReason reason) |
void |
RestRequestWaitpointTask.terminate(TaskContext context,
TerminationReason reason) |
Modifier and Type | Method and Description |
---|---|
ExecutableTask.Result |
ParseXmlTask.processInput(TaskContext context,
Object input) |
ExecutableTask.Result |
ConvertToXmlTask.processInput(TaskContext context,
Object input) |
ExecutableTask.Result |
ParseXmlTask.start(TaskContext context) |
ExecutableTask.Result |
ConvertToXmlTask.start(TaskContext context) |
void |
ParseXmlTask.terminate(TaskContext context,
TerminationReason reason) |
void |
ConvertToXmlTask.terminate(TaskContext context,
TerminationReason reason) |
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.