org.kie.remote.services.rest
Class RuntimeResource
java.lang.Object
org.kie.remote.services.rest.ResourceBase
org.kie.remote.services.rest.RuntimeResource
@RequestScoped
public class RuntimeResource
- extends ResourceBase
If a method in this class is annotated by a @Path annotation,
then the name of the method should match the URL specified in the @Path,
where "_" characters should be used for all "/" characters in the path.
For example:
| Methods inherited from class org.kie.remote.services.rest.ResourceBase |
convertProcAssetDescToJaxbProcDef, convertStringListToStatusList, convertTaskToTaskSummary, createCorrectVariant, createCorrectVariant, extractMapFromParams, getEnum, getLongListParam, getMaxNumResultsNeeded, getNumberParam, getObjectParam, getOrganizationalEntityListFromParams, getPageNumAndPageSize, getRelativePath, getRequestParams, getStringListParam, getStringParam, getVariant, paginate, paginateAndCreateResult, paginateAndCreateResult, restProcessJaxbCommandsRequest |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
headers
@Context
protected javax.ws.rs.core.HttpHeaders headers
uriInfo
@Context
protected javax.ws.rs.core.UriInfo uriInfo
deploymentId
protected String deploymentId
RuntimeResource
public RuntimeResource()
execute
public JaxbCommandsResponse execute(JaxbCommandsRequest cmdsRequest)
- The "/execute" method, primarily for the classes in the kie-services-client jar.
A pain to support..
- Parameters:
cmdsRequest - The JaxbCommandsRequest containing the Command and other necessary info.
- Returns:
- A
JaxbCommandsResponse with the result from the Command
process_defId
public javax.ws.rs.core.Response process_defId(String processId)
process_defId_start
public javax.ws.rs.core.Response process_defId_start(String processId)
process_defId_startform
public javax.ws.rs.core.Response process_defId_startform(String processId)
process_instance_procInstId
public javax.ws.rs.core.Response process_instance_procInstId(Long procInstId)
process_instance_procInstId_abort
public javax.ws.rs.core.Response process_instance_procInstId_abort(Long procInstId)
process_instance_procInstId_signal
public javax.ws.rs.core.Response process_instance_procInstId_signal(Long procInstId)
process_instance_procInstId_variable_varName
public javax.ws.rs.core.Response process_instance_procInstId_variable_varName(Long procInstId,
String varName)
signal
public javax.ws.rs.core.Response signal()
workitem_workItemId
public javax.ws.rs.core.Response workitem_workItemId(Long workItemId)
worktiem_workItemId_oper
public javax.ws.rs.core.Response worktiem_workItemId_oper(Long workItemId,
String operation)
withvars_process_processDefId_start
public javax.ws.rs.core.Response withvars_process_processDefId_start(String processId)
- WithVars methods
withvars_process_instance_procInstId
public javax.ws.rs.core.Response withvars_process_instance_procInstId(Long procInstId)
withvars_process_instance_procInstid_signal
public javax.ws.rs.core.Response withvars_process_instance_procInstid_signal(Long procInstId)
getRootElementName
protected QName getRootElementName(Object object)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.