|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.ucsb.cs.jicos.services.external.ExternalResult
public class ExternalResult
| Constructor Summary | |
|---|---|
ExternalResult()
Default constructor. |
|
ExternalResult(ExternalRequest externalRequest)
Helper method - Create an ExternalResult from an ExternalRequest. |
|
ExternalResult(ExternalResult externalResult)
Copy constructor. |
|
| Method Summary | |
|---|---|
ExternalRequestId |
getExternalRequestId()
Return the external (collector's) requestId. |
java.lang.Object |
getInput()
Return the input object. |
Invoice |
getInvoice()
Return the Jicos invoice. |
Result |
getResult()
Return the result of the Jicos computation. |
ResultId |
getResultId()
Return the Jicos resultId. |
Shared |
getShared()
Return the shared object. |
Task |
getTask()
Return the task. |
java.lang.Throwable |
getThrowable()
Return the exception, if any. |
void |
mailTo(java.lang.String eMailAddress)
Set the email address to send the result to. (Needs to be implemented!!!) |
void |
setExternalRequestId(ExternalRequestId externalRequestId)
Set the external request id for this result. |
void |
setInput(java.lang.Object input)
Set the input for this result. |
void |
setInvoice(Invoice invoice)
Set the Jicos invoice for this result. |
void |
setResult(Result result)
Set the result of the Jicos computation for this result. |
void |
setResultId(ResultId resultId)
Set the Jicos requestId for this result. |
void |
setShared(Shared shared)
Set the shared object for this result. |
void |
setTask(Task task)
Set the task for this result. |
void |
setThrowable(java.lang.Throwable throwable)
Set the exception for this result. |
java.lang.String |
toHtmlString(java.lang.String hostPort)
Convert an external result to HTML text. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExternalResult()
public ExternalResult(ExternalResult externalResult)
externalResult - Instance to copy.public ExternalResult(ExternalRequest externalRequest)
externalRequest - An external request.| Method Detail |
|---|
public Task getTask()
public Shared getShared()
public java.lang.Object getInput()
public ExternalRequestId getExternalRequestId()
public ResultId getResultId()
public Result getResult()
public Invoice getInvoice()
public java.lang.Throwable getThrowable()
public void setTask(Task task)
public void setShared(Shared shared)
public void setInput(java.lang.Object input)
public void setExternalRequestId(ExternalRequestId externalRequestId)
public void setResultId(ResultId resultId)
public void setResult(Result result)
public void setInvoice(Invoice invoice)
public void setThrowable(java.lang.Throwable throwable)
public void mailTo(java.lang.String eMailAddress)
throws java.lang.Exception
java.lang.Exception
public java.lang.String toHtmlString(java.lang.String hostPort)
throws java.lang.Exception
hostPort - The host:port of the server.
java.lang.Exception - Because Task.createResult can throw this.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||