public class UpdateTransformConfigurationCommand extends BaseTransformCommand<UpdateTransformConfigurationResponse>
Command.CommonParameters, Command.Response
_transformId
CONTENT_TYPE_JSON
Constructor and Description |
---|
UpdateTransformConfigurationCommand(java.lang.String transformId) |
UpdateTransformConfigurationCommand(UpdateTransformConfigurationCommand source) |
Modifier and Type | Method and Description |
---|---|
protected UpdateTransformConfigurationResponse |
createResponse(java.lang.String text,
int status,
java.lang.String contentType,
org.json.simple.JSONObject json)
Creates an instance of the response class, initialized with
the response text, the HTTP status code, and parsed JSONObject.
|
java.lang.Boolean |
getEnabled() |
org.json.simple.JSONObject |
getJsonObject()
Returns the JSON object to post, or null if the JSON object
has not yet been set.
|
java.lang.Boolean |
getVerboseLogging() |
void |
setEnabled(boolean enabled) |
void |
setVerboseLogging(boolean verboseLogging) |
getTransformId, setTransformId
copy, createRequest, setJsonObject
_execute, checkThrowError, execute, getActionName, getActionUrl, getControllerName, getHttpRequest, getParameters, getParamValueAsString, getQueryString, getRequiredVersion, getTimeout, setParameters, setRequiredVersion, setTimeout
public UpdateTransformConfigurationCommand(UpdateTransformConfigurationCommand source)
public UpdateTransformConfigurationCommand(java.lang.String transformId)
transformId
- the name of the transform to update/read configurationprotected UpdateTransformConfigurationResponse createResponse(java.lang.String text, int status, java.lang.String contentType, org.json.simple.JSONObject json)
Command
Override this method to create an instance of a different class that extends CommandResponse
createResponse
in class Command<UpdateTransformConfigurationResponse>
text
- The response text from the server.status
- The HTTP status code.contentType
- The Content-Type header value.json
- The parsed JSONObject (or null if no JSON was returned).public org.json.simple.JSONObject getJsonObject()
PostCommand
getJsonObject
in class BaseTransformCommand<UpdateTransformConfigurationResponse>
public java.lang.Boolean getEnabled()
public void setEnabled(boolean enabled)
public java.lang.Boolean getVerboseLogging()
public void setVerboseLogging(boolean verboseLogging)