Modifier and Type | Field and Description |
---|---|
private boolean |
allowImmediateExecution |
COMMAND_CONFIGURE_JOB, COMMAND_CONFIGURE_PLUGIN, COMMAND_EXECUTE
Constructor and Description |
---|
PluginRequest.RequestImpl(boolean allowImmediateExecution) |
Modifier and Type | Method and Description |
---|---|
String |
getCommand()
The command the plugin should execute.
|
Object |
getParameterValue(String name)
Get the value for the parameter with the specified name.
|
List<?> |
getParameterValues(String name)
Get the values for the parameter with the specified name.
|
boolean |
isAllowedImmediateExecution()
If this plugin has been allowed immediate execution or not.
|
PluginRequest.RequestImpl(boolean allowImmediateExecution)
public String getCommand()
Request
getCommand
in interface Request
public Object getParameterValue(String name)
Request
getParameterValue
in interface Request
name
- The name of the parameterpublic List<?> getParameterValues(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