Program BPELWait
Wait for time (ms).
Input Parameters: | Output Parameters: |
|
|
Commands:
BPEL | system.CT_BPEL |
|
status | String | |
errormsg | String | |
|
|
Program BPELEmpty
This program does nothing.
Input Parameters: | Output Parameters: |
|
|
Commands:
BPEL | system.CT_BPEL |
|
status | String | |
errormsg | String | |
|
|
Program BPELThrow
This program always fails. You can use it to throw an exception..
Input Parameters: | Output Parameters: |
faultName | String | |
faultCode | String | |
|
|
Commands:
BPEL | system.CT_BPEL |
|
status | String | |
errormsg | String | |
|
|
Program Multiply
Snippet to multiply two floating point numbers.
Input Parameters: | Output Parameters: |
|
|
Commands:
NewAccessMethod | system.CT_JAVASCRIPT |
Script | Code:Java | | c = a * b;
|
|
|
Program Sum
Adds two floating point numbers.
Input Parameters: | Output Parameters: |
|
|
Commands:
NewAccessMethod | system.CT_JAVASCRIPT |
Script | Code:Java | | c = a + b;
|
|
|
Program Subtract
Returns the difference between a and b.
Input Parameters: | Output Parameters: |
|
|
Commands:
NewAccessMethod | system.CT_JAVASCRIPT |
Script | Code:Java | | c = a - b;
|
|
|
Program Divide
Snippet to divide two floating point numbers.
Input Parameters: | Output Parameters: |
|
|
Commands:
NewAccessMethod | system.CT_JAVASCRIPT |
Script | Code:Java | | c = a / b;
|
|
|
Program Operation
Abstract interface representing math operations that take two floating point numbers and return one.
Input Parameters: | Output Parameters: |
|
|
Commands:
|
Program Power
Raises a to the b-th power.
Input Parameters: | Output Parameters: |
|
|
Commands:
NewAccessMethod | system.CT_JAVASCRIPT |
Script | Code:Java | | c = Math.pow(a,b);
|
|
|
Program Null
Snippet that will always return 0 no matter what input is given.
Input Parameters: | Output Parameters: |
|
|
Commands:
NewAccessMethod | system.CT_JAVASCRIPT |
|
|
|
Program getProgramsByInterface
Returns the list of the names of currently deployed programs that match the interface signature contained in the filter parameter. The list is sorted..
Input Parameters: | Output Parameters: |
|
|
Commands:
NewAccessMethod | system.CT_JAVASCRIPT |
Script | Code:Java | | Programs = Opera.getInstance().listProgramInterfaces(Filter);
|
|
|
Program getProgramsByName
Returns programs whose name matches the regular expression passed as filter.
Input Parameters: | Output Parameters: |
|
|
Commands:
NewAccessMethod | system.CT_JAVASCRIPT |
Script | Code:Java | | Programs = Opera.getInstance().listProgramNames(Filter);
|
|
|
Program Cancel
This library task should be called to cancel the execution of another one identified by its TID..
Input Parameters: | Output Parameters: |
|
|
Commands:
NewAccessMethod | system.CT_JAVASCRIPT |
Script | Code:Java | | Opera.getInstance().signal(new TID(t_id), ch.ethz.jopera.kernel.api.APIConsts.SIGNAL_KILL);
|
|
|
Program Resume
This library task should be called to resume the execution of a task identified by its ID system parameter..
Input Parameters: | Output Parameters: |
|
|
Commands:
NewAccessMethod | system.CT_JAVASCRIPT |
Script | Code:Java | | Opera.getInstance().signal(new TID(t_id), ch.ethz.jopera.kernel.api.APIConsts.SIGNAL_CONTINUE);
|
|
|
Program Suspend
This library task should be called to suspend the execution of a task identified by its ID system parameter. It can also suspend the entire process..
Input Parameters: | Output Parameters: |
|
|
Commands:
NewAccessMethod | system.CT_JAVASCRIPT |
Script | Code:Java | | Opera.getInstance().signal(new TID(t_id), ch.ethz.jopera.kernel.api.APIConsts.SIGNAL_PAUSE);
|
|
|