public class JaxbWorkItemResponse extends AbstractJaxbCommandResponse<org.kie.api.runtime.process.WorkItem> implements org.kie.api.runtime.process.WorkItem
commandNamestatus, url| Constructor and Description |
|---|
JaxbWorkItemResponse() |
JaxbWorkItemResponse(org.kie.api.runtime.process.WorkItem workItem) |
JaxbWorkItemResponse(org.kie.api.runtime.process.WorkItem result,
int i,
org.kie.api.command.Command<?> cmd) |
| Modifier and Type | Method and Description |
|---|---|
long |
getId() |
String |
getName() |
Object |
getParameter(String name) |
Map<String,Object> |
getParameters() |
long |
getProcessInstanceId() |
org.kie.api.runtime.process.WorkItem |
getResult() |
Object |
getResult(String name) |
Map<String,Object> |
getResults() |
int |
getState() |
void |
setId(Long id) |
void |
setName(String name) |
void |
setParameters(Map<String,Object> parameters) |
void |
setProcessInstanceId(Long processInstanceId) |
void |
setResult(org.kie.api.runtime.process.WorkItem result)
This method is necessary for the YAML framework (which expects getters *and* setters) to work with these objects.
|
void |
setResults(Map<String,Object> results) |
void |
setState(Integer state) |
getCommandName, getIndex, setCommandName, setIndexgetStatus, getUrl, prettyPrint, setStatus, setUrlpublic JaxbWorkItemResponse()
public JaxbWorkItemResponse(org.kie.api.runtime.process.WorkItem workItem)
public JaxbWorkItemResponse(org.kie.api.runtime.process.WorkItem result,
int i,
org.kie.api.command.Command<?> cmd)
public long getId()
getId in interface org.kie.api.runtime.process.WorkItempublic void setId(Long id)
public String getName()
getName in interface org.kie.api.runtime.process.WorkItempublic void setName(String name)
public int getState()
getState in interface org.kie.api.runtime.process.WorkItempublic void setState(Integer state)
public Map<String,Object> getParameters()
getParameters in interface org.kie.api.runtime.process.WorkItempublic Object getParameter(String name)
getParameter in interface org.kie.api.runtime.process.WorkItempublic Map<String,Object> getResults()
getResults in interface org.kie.api.runtime.process.WorkItempublic long getProcessInstanceId()
getProcessInstanceId in interface org.kie.api.runtime.process.WorkItempublic void setProcessInstanceId(Long processInstanceId)
public org.kie.api.runtime.process.WorkItem getResult()
getResult in interface JaxbCommandResponse<org.kie.api.runtime.process.WorkItem>public void setResult(org.kie.api.runtime.process.WorkItem result)
JaxbCommandResponsesetResult in interface JaxbCommandResponse<org.kie.api.runtime.process.WorkItem>Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.