|
||||||||||
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 | |
---|---|
java.lang.String |
getError()
Returns the error of the task, if any. |
java.util.Map<java.lang.String,java.lang.Object> |
getInput()
Returns the input of the task, if any. |
java.lang.String |
getLog()
Returns the log of the task. |
java.util.Map<java.lang.String,java.lang.Object> |
getOutput()
Returns the output produced by the task, if any. |
java.util.Calendar |
getStartTime()
Returns the start time of the task. |
java.lang.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. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TaskProxy(org.apache.axis.message.addressing.EndpointReferenceType epr) throws java.lang.Exception
epr
- the endpoint.
java.lang.Exception
Method Detail |
---|
public java.lang.String getState()
public java.lang.String getLog()
public java.lang.String getError()
null
if the task produced none.public java.util.Calendar getStartTime()
public java.util.Map<java.lang.String,java.lang.Object> getOutput()
null
if the task produced none yet.public java.util.Map<java.lang.String,java.lang.Object> getInput()
null
if the task had none.public TaskDescription getType()
public void synchronize() throws java.lang.Exception
java.lang.Exception
- if the proxy could not be synchronised.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |