|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.vremanagement.executor.stubs.TaskProxy
public class TaskProxy
A local call for a remote running task.
The call can synchronise its state with the remote task, subscribe monitors to its key changes, and stop its execution.
| Constructor Summary | |
|---|---|
TaskProxy(org.apache.axis.message.addressing.EndpointReferenceType epr)
Creates an instance from the endpoint of the remote task. |
|
| Method Summary | |
|---|---|
String |
getError()
Returns the error of the task, if any. |
Map<String,Object> |
getInput()
Returns the input of the task, if any. |
String |
getLog()
Returns the log of the task. |
Map<String,Object> |
getOutput()
Returns the output produced by the task, if any. |
Calendar |
getStartTime()
Returns the start time of the task. |
String |
getState()
Returns the state of the task. |
TaskDescription |
getType()
Returns the type of the task. |
void |
synchronize()
Synchronises the proxy with the remote task. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TaskProxy(org.apache.axis.message.addressing.EndpointReferenceType epr)
throws Exception
epr - the endpoint.
Exception| Method Detail |
|---|
public String getState()
public String getLog()
public String getError()
null if the task produced none.public Calendar getStartTime()
public Map<String,Object> getOutput()
null if the task produced none yet.public Map<String,Object> getInput()
null if the task had none.public TaskDescription getType()
public void synchronize()
throws Exception
Exception - if the proxy could not be synchronised.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||