public class SGALocalCommand
extends csbase.server.plugin.service.sgaservice.SGADaemonCommand
| Modifier | Constructor and Description |
|---|---|
protected |
SGALocalCommand(JobExecutor executor,
String commandId)
Constructor.
|
protected |
SGALocalCommand(JobExecutor executor,
String commandId,
JobData jobData)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
control(sgaidl.JobControlAction action,
String child)
Control a job or one of its children.
|
protected void |
execute(String commandString,
Map<String,String> execParam,
JobObserver observer) |
protected Map<String,String> |
getExecParam()
Obtém os parâmetros de execução do comando
|
protected JobExecutor |
getExecutor()
Gets the JobExecutor.
|
protected JobData |
getJobData()
Gets the job's JobData.
|
sgaidl.RunningCommandInfo |
getRunningCommandInfo()
Gets the running command information.
|
protected void |
recover(JobData data,
Map<String,String> params,
JobObserver observer)
Tenta recuperar o comando
|
protected void |
setLogger(Logger logger) |
_create_request, _create_request, _duplicate, _get_client_policy, _get_component, _get_domain_managers, _get_interface_def, _get_interface, _get_orb, _get_policy_overrides, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _repository_id, _request, _set_policy_override, _set_policy_overrides, _validate_connectionprotected SGALocalCommand(JobExecutor executor, String commandId)
executor - the JobExecutorcommandId - the command identifierprotected SGALocalCommand(JobExecutor executor, String commandId, JobData jobData)
executor - the JobExecutorcommandId - the command identifierjobData - the JobDataprotected void setLogger(Logger logger)
protected JobData getJobData()
protected Map<String,String> getExecParam()
protected JobExecutor getExecutor()
protected void execute(String commandString, Map<String,String> execParam, JobObserver observer)
protected void recover(JobData data, Map<String,String> params, JobObserver observer)
data - os dado do comando na camada de execuçãoparams - os parâmeros de execuçãoobserver - o observadorpublic void control(sgaidl.JobControlAction action,
String child)
throws sgaidl.InvalidActionException,
sgaidl.ActionNotSupportedException,
sgaidl.InvalidTransitionException
action - action to send to the job or to the job's childchild - child's id or null if the job is receiving the actionsgaidl.InvalidActionException - If the action is invalidsgaidl.ActionNotSupportedException - If the action is not supportedsgaidl.InvalidTransitionException - If sending the action the job perform an invalid state transitionpublic sgaidl.RunningCommandInfo getRunningCommandInfo()
Copyright © 2019. All rights reserved.