KIE Remote Services :: JAXB classes 6.1.0.Final

org.kie.services.client.serialization.jaxb.impl.task
Class JaxbTaskContentResponse

java.lang.Object
  extended by 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>>


Constructor Summary
JaxbTaskContentResponse()
           
JaxbTaskContentResponse(int i, org.kie.api.command.Command<?> cmd)
           
JaxbTaskContentResponse(org.jbpm.services.task.impl.model.xml.JaxbContent content, int i, org.kie.api.command.Command<?> cmd)
           
 
Method Summary
 String getCommandName()
           
 Integer getIndex()
           
 Map<String,Object> getResult()
           
 void setCommandName(String cmdName)
          This method is necessary for the YAML framework (which expects getters *and* setters) to work with these objects.
 void setIndex(Integer index)
          This method is necessary for the YAML framework (which expects getters *and* setters) to work with these objects.
 void setResult(Map<String,Object> contentMap)
          This method is necessary for the YAML framework (which expects getters *and* setters) to work with these objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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>>

KIE Remote Services :: JAXB classes 6.1.0.Final

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.