KIE Remote Services :: JAXB classes 6.1.0.Final

org.kie.services.client.serialization.jaxb.impl
Interface JaxbCommandResponse<T>

All Known Implementing Classes:
AbstractJaxbCommandResponse, JaxbContentResponse, JaxbExceptionResponse, JaxbHistoryLogList, JaxbLongListResponse, JaxbNodeInstanceLog, JaxbOtherResponse, JaxbPrimitiveResponse, JaxbProcessInstanceListResponse, JaxbProcessInstanceLog, JaxbProcessInstanceResponse, JaxbStringListResponse, JaxbTaskContentResponse, JaxbTaskResponse, JaxbTaskSummaryListResponse, JaxbVariableInstanceLog, JaxbVariablesResponse, JaxbWorkItem

public interface JaxbCommandResponse<T>


Method Summary
 String getCommandName()
           
 Integer getIndex()
           
 T 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(T result)
          This method is necessary for the YAML framework (which expects getters *and* setters) to work with these objects.
 

Method Detail

getIndex

Integer getIndex()
Returns:
The index of the command in the JaxbCommandsRequest.getCommands() list.

setIndex

void setIndex(Integer index)
This method is necessary for the YAML framework (which expects getters *and* setters) to work with these objects.

Parameters:
index -

getCommandName

String getCommandName()
Returns:
The (simple) name of the command class that generated this response.

setCommandName

void setCommandName(String cmdName)
This method is necessary for the YAML framework (which expects getters *and* setters) to work with these objects.

Parameters:
cmdName -

getResult

T getResult()
Returns:
The result object generated by the command. If the command does not return an object, null.

setResult

void setResult(T result)
This method is necessary for the YAML framework (which expects getters *and* setters) to work with these objects.

Parameters:
result -

KIE Remote Services :: JAXB classes 6.1.0.Final

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