Package org.labkey.remoteapi.di
Class BaseTransformCommand<ResponseType extends CommandResponse>
java.lang.Object
org.labkey.remoteapi.Command<ResponseType,org.apache.hc.client5.http.classic.methods.HttpPost>
org.labkey.remoteapi.PostCommand<ResponseType>
org.labkey.remoteapi.di.BaseTransformCommand<ResponseType>
- All Implemented Interfaces:
HasRequiredVersion
- Direct Known Subclasses:
ResetTransformStateCommand
,RunTransformCommand
,UpdateTransformConfigurationCommand
public abstract class BaseTransformCommand<ResponseType extends CommandResponse>
extends PostCommand<ResponseType>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.labkey.remoteapi.Command
Command.CommonParameters, Command.Response
-
Field Summary
Fields inherited from class org.labkey.remoteapi.Command
CONTENT_TYPE_JSON
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
BaseTransformCommand
(String actionName, String transformId) -
Method Summary
Modifier and TypeMethodDescriptionorg.json.JSONObject
Returns the JSON object to post or null for no JSON.Methods inherited from class org.labkey.remoteapi.PostCommand
createRequest
Methods inherited from class org.labkey.remoteapi.Command
_execute, createParameterMap, createResponse, execute, getActionName, getControllerName, getHttpRequest, getParameters, getParamValueAsString, getRequiredVersion, getTimeout, setRequiredVersion, setTimeout
-
Constructor Details
-
BaseTransformCommand
-
-
Method Details
-
getTransformId
-
getJsonObject
public org.json.JSONObject getJsonObject()Description copied from class:PostCommand
Returns the JSON object to post or null for no JSON. Override this method to provide parameters as JSON.- Overrides:
getJsonObject
in classPostCommand<ResponseType extends CommandResponse>
- Returns:
- The JSON object to post.
-