vgrid.task
Class FasadeTask
java.lang.Object
vgrid.task.FasadeTask
public class FasadeTask
- extends java.lang.Object
A fasade task may be instantiated from any stream representing a Task. It can
be used to show the task id, class and execution history of tasks.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FasadeTask
public FasadeTask()
throws java.io.IOException
- Throws:
java.io.IOException
getId
public java.lang.String getId()
addMsgToExecutionHistory
public void addMsgToExecutionHistory(java.lang.String msg,
java.lang.Throwable throwable)
addMsgToExecutionHistory
public void addMsgToExecutionHistory(java.lang.String msg)
deserializeZipped
public void deserializeZipped(java.io.InputStream ins)
throws java.io.IOException
- Throws:
java.io.IOException
getVendorData
public byte[] getVendorData()
getExecutionHistory
public java.lang.String getExecutionHistory()
setExecutionHistory
public void setExecutionHistory(java.lang.String executionHistory)
serialize
public java.io.InputStream serialize()
throws VgridException
- Throws:
VgridException
serialize
public void serialize(java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
getOriginalByteArray
public java.lang.Object getOriginalByteArray()
createTask
public Task createTask()
throws VgridInstatiationException
- Throws:
VgridInstatiationException
vgrid the vienna grid project