|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteios.core.PluginExecutionRequest
public final class PluginExecutionRequest
Executes a job. You will get an instance of this class when:
Job.execute(ProgressReporter, String)
DbControl if you doesn't need it
and you expect that the job takes a long time to execute. The job will
open it's own connection(s) to the database.
invoke() to start executing of the job.
PluginResponse and display a user-friendly message.
done() method, it is called
automatically by the core once the job has finished executing.
| Method Summary | |
|---|---|
void |
done()
Aborts the execution of the plugin. |
String |
getCommand()
Get the command this request will issue to the plugin when invoke() is called. |
List<?> |
getCurrentConfigurationParameterValues(String name)
|
List<?> |
getCurrentJobParameterValues(String name)
|
List<?> |
getCurrentParameterValues(String name)
|
PluginResponse |
invoke()
Invoke the plugin and let it do it's work. |
void |
setParameterValue(String name,
Object value)
Set the value of a request parameter to a single value. |
void |
setParameterValues(String name,
List<?> values)
Set the value of a request parameter to a list of values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public PluginResponse invoke()
Response.Status.ERROR and
the error messages will be available in the
PluginResponse.getMessage() and
PluginResponse.getErrorList() methods.
PluginResponse objectpublic String getCommand()
invoke() is called.
public void setParameterValue(String name,
Object value)
RequestInformation object.
name - The name of the parametervalue - The value of the parameterPluginConfigurationRequest.getRequestInformation()
public void setParameterValues(String name,
List<?> values)
RequestInformation object.
name - The name of the parametervalues - The values of the parameterPluginConfigurationRequest.getRequestInformation()public List<?> getCurrentParameterValues(String name)
public List<?> getCurrentConfigurationParameterValues(String name)
public List<?> getCurrentJobParameterValues(String name)
public void done()
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||