org.kie.services.client.serialization.jaxb.impl.task
Class JaxbTaskContentResponse
java.lang.Object
org.kie.services.client.serialization.jaxb.impl.task.JaxbTaskContentResponse
- All Implemented Interfaces:
- JaxbCommandResponse<Map<String,Object>>
public class JaxbTaskContentResponse
- extends Object
- implements JaxbCommandResponse<Map<String,Object>>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaxbTaskContentResponse
public JaxbTaskContentResponse()
JaxbTaskContentResponse
public JaxbTaskContentResponse(int i,
org.kie.api.command.Command<?> cmd)
JaxbTaskContentResponse
public JaxbTaskContentResponse(org.jbpm.services.task.impl.model.xml.JaxbContent content,
int i,
org.kie.api.command.Command<?> cmd)
getIndex
public Integer getIndex()
- Specified by:
getIndex in interface JaxbCommandResponse<Map<String,Object>>
- Returns:
- The index of the command in the
JaxbCommandsRequest.getCommands() list.
setIndex
public void setIndex(Integer index)
- Description copied from interface:
JaxbCommandResponse
- This method is necessary for the YAML framework (which expects getters *and* setters) to work with these objects.
- Specified by:
setIndex in interface JaxbCommandResponse<Map<String,Object>>
getCommandName
public String getCommandName()
- Specified by:
getCommandName in interface JaxbCommandResponse<Map<String,Object>>
- Returns:
- The (simple) name of the command class that generated this response.
setCommandName
public void setCommandName(String cmdName)
- Description copied from interface:
JaxbCommandResponse
- This method is necessary for the YAML framework (which expects getters *and* setters) to work with these objects.
- Specified by:
setCommandName in interface JaxbCommandResponse<Map<String,Object>>
getResult
public Map<String,Object> getResult()
- Specified by:
getResult in interface JaxbCommandResponse<Map<String,Object>>
- Returns:
- The result object generated by the command. If the command does not return an object, null.
setResult
public void setResult(Map<String,Object> contentMap)
- Description copied from interface:
JaxbCommandResponse
- This method is necessary for the YAML framework (which expects getters *and* setters) to work with these objects.
- Specified by:
setResult in interface JaxbCommandResponse<Map<String,Object>>
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.