Modifier and Type | Field and Description |
---|---|
private boolean |
allowImmediateExecution |
COMMAND_CONFIGURE_JOB, COMMAND_CONFIGURE_PLUGIN, COMMAND_EXECUTE
Constructor and Description |
---|
RequestImpl(boolean allowImmediateExecution) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommand()
The command the plugin should execute.
|
java.lang.Object |
getParameterValue(java.lang.String name)
Get the value for the parameter with the specified name.
|
java.util.List<?> |
getParameterValues(java.lang.String name)
Get the values for the parameter with the specified name.
|
java.io.Serializable |
getState()
Get state information that was previously saved by
Response.setPause(String, String, java.io.Serializable)
or Response.setContinue(String, java.io.Serializable) . |
boolean |
isAllowedImmediateExecution()
If this plugin has been allowed immediate execution or not.
|
public java.lang.String getCommand()
Request
getCommand
in interface Request
public java.io.Serializable getState()
Request
Response.setPause(String, String, java.io.Serializable)
or Response.setContinue(String, java.io.Serializable)
.public java.lang.Object getParameterValue(java.lang.String name)
Request
getParameterValue
in interface Request
name
- The name of the parameterpublic java.util.List<?> getParameterValues(java.lang.String name)
Request
getParameterValues
in interface Request
name
- The name of the parameterpublic boolean isAllowedImmediateExecution()
Request
Response.setExecuteImmediately(String, Job.ExecutionTime, boolean)
or, if the plugin is a ImmediateDownloadExporter
,
Response.setDownloadImmediately(String, Job.ExecutionTime, boolean)
.isAllowedImmediateExecution
in interface Request