public interface ProcessManagement
| Modifier and Type | Method and Description |
|---|---|
ProcessInfoDocument |
activate(javax.xml.namespace.QName pid)
Activate a process.
|
ActivityExtInfoListDocument |
getExtensibilityElements(javax.xml.namespace.QName pid,
java.lang.Integer[] aids)
Get all extensibility elements associated with provided activity ids.
|
ProcessInfoDocument |
getProcessInfo(javax.xml.namespace.QName pid)
Get the process info for a process (includingthe instance summary).
|
ProcessInfoDocument |
getProcessInfoCustom(javax.xml.namespace.QName pid,
ProcessInfoCustomizer custom)
Get the process info for a process.
|
ProcessInfoListDocument |
listAllProcesses()
List the processes known to the engine.
|
ProcessInfoListDocument |
listProcesses(java.lang.String filter,
java.lang.String orderKeys)
List the processes known to the engine (including instance summaries).
|
ProcessInfoListDocument |
listProcessesCustom(java.lang.String filter,
java.lang.String orderKeys,
ProcessInfoCustomizer custom)
List the processes known to the engine.
|
ProcessInfoListDocument |
listProcessesSummaryAndProperties()
List the processes known to the engine, excluding the document list, and end point configs but including properties
|
ProcessInfoListDocument |
listProcessesSummaryOnly()
List the processes known to the engine, excluding the document list, properties and end point configs.
|
void |
setPackageRetired(java.lang.String packageName,
boolean retired)
Retires all the processes contained in a package.
|
ProcessInfoDocument |
setProcessProperty(javax.xml.namespace.QName pid,
javax.xml.namespace.QName propertyName,
java.lang.String value)
Set a process property as a simple type.
|
ProcessInfoDocument |
setProcessPropertyNode(javax.xml.namespace.QName pid,
javax.xml.namespace.QName propertyName,
org.w3c.dom.Node value)
Set a process property as a Node.
|
ProcessInfoDocument |
setRetired(javax.xml.namespace.QName pid,
boolean retired)
Retire a process.
|
ProcessInfoListDocument listProcesses(java.lang.String filter, java.lang.String orderKeys)
filter - selection filter or null (for no filtering).orderKeys - keys used to order the resultsProcessInfoDocuments (including instance summaries)ProcessInfoListDocument listProcessesCustom(java.lang.String filter, java.lang.String orderKeys, ProcessInfoCustomizer custom)
filter - selection filter or null (for no filtering).orderKeys - keys used to order the resultscustom - used to customize the quantity of information returnedProcessInfoDocuments (including instance summaries)ProcessInfoListDocument listAllProcesses()
ProcessInfoDocuments (including instance summaries)ProcessInfoListDocument listProcessesSummaryOnly()
ProcessInfoDocuments (including instance summaries)ProcessInfoListDocument listProcessesSummaryAndProperties()
ProcessInfoDocuments (including instance summaries)ProcessInfoDocument getProcessInfoCustom(javax.xml.namespace.QName pid, ProcessInfoCustomizer custom) throws ManagementException
pid - name of the processcustom - used to customize the quantity of information returnedProcessInfoDocumentManagementExceptionProcessInfoDocument getProcessInfo(javax.xml.namespace.QName pid) throws ManagementException
pid - name of the processProcessInfoDocument with all details.ManagementExceptionActivityExtInfoListDocument getExtensibilityElements(javax.xml.namespace.QName pid, java.lang.Integer[] aids)
pid - process identifieraids - activity indentifiersActivityExtInfoListDocumentProcessInfoDocument setProcessPropertyNode(javax.xml.namespace.QName pid, javax.xml.namespace.QName propertyName, org.w3c.dom.Node value) throws ManagementException
pid - name of processpropertyName - qname of propertyvalue - property valueProcessInfoDocument reflecting the modificationManagementExceptionProcessInfoDocument setProcessProperty(javax.xml.namespace.QName pid, javax.xml.namespace.QName propertyName, java.lang.String value) throws ManagementException
pid - name of processpropertyName - qname of propertyvalue - property valueProcessInfoDocument reflecting the modificationManagementExceptionProcessInfoDocument activate(javax.xml.namespace.QName pid) throws ManagementException
pid - identifier for the process to loadProcessInfoDocument reflecting the modificationManagementExceptionProcessInfoDocument setRetired(javax.xml.namespace.QName pid, boolean retired) throws ManagementException
pid - identifier of the process to retireretired - TODOProcessInfoDocument reflecting the modificationManagementExceptionvoid setPackageRetired(java.lang.String packageName,
boolean retired)
packageName - retired - Copyright © 2015 WSO2. All Rights Reserved.