public interface JCoFunctionUnit
Note: The implementation for this interface provided by the JCo runtime. Other implementations are not supported.
Modifier and Type | Method and Description |
---|---|
void |
addFunction(JCoFunction function)
Adds a function to the unit.
|
void |
addFunctions(List<JCoFunction> functions)
Adds the functions to the unit.
|
boolean |
addQueueName(String queueName)
Adds a queue name.
|
boolean |
addQueueNames(Set<String> queueNames)
Adds the given queue names.
|
void |
commit(JCoDestination destination)
Commits the unit.
|
List<JCoFunction> |
getFunctions()
Returns an immutable list of function.
|
JCoUnitIdentifier |
getIdentifier()
Return the unique identifier for the function unit.
|
Set<String> |
getQueueNames()
Returns an immutable copy of the list containing the queue names.
|
JCoUnitIdentifier getIdentifier()
boolean addQueueName(String queueName)
queueName
- name of the queueJCoRuntimeException
- if the unit is being modified after commitJCoRuntimeException
- if the queue name is not allowed. Allowed are queue names [A-Z]([A-Z]|[0-9]|_)* only.boolean addQueueNames(Set<String> queueNames)
queueNames
- set of the queue names to addJCoRuntimeException
- if the unit is being modified after commitJCoRuntimeException
- if a queue name in the list is not allowed. Allowed are queue names [A-Z]([A-Z]|[0-9]|_)* only.Set<String> getQueueNames()
void addFunction(JCoFunction function)
function
- function to be added to the function unitJCoRuntimeException
- if the unit is being modified after commitvoid addFunctions(List<JCoFunction> functions)
functions
- list of functions to be added to the function unitJCoRuntimeException
- if the unit is being modified after commitList<JCoFunction> getFunctions()
void commit(JCoDestination destination) throws JCoException
destination
- to which the unit has to be sendJCoException
- if transmission or processing on the remote side failsCopyright © 2020 SAP. All Rights Reserved.