public class Control
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Control.CleanMode
Cleaning mode.
|
| Constructor and Description |
|---|
Control() |
Control(boolean detach)
Execution control parameters.
|
Control(boolean detach,
Control.CleanMode clean)
Execution control parameters.
|
Control(java.lang.Class resultType)
Execution control parameters.
|
Control(java.lang.Class resultType,
boolean detach)
Execution control parameters.
|
Control(java.lang.Class resultType,
boolean detach,
Control.CleanMode clean)
Execution control parameters.
|
Control(java.lang.Class resultType,
int projectId)
Execution control parameters.
|
Control(java.lang.Class resultType,
Peach peach,
boolean detach,
Control.CleanMode clean)
Execution control parameters.
|
Control(int projectId)
Execution control parameters.
|
Control(Peach peach)
Execution control parameters.
|
| Modifier and Type | Method and Description |
|---|---|
ErrorStruct |
getError() |
ErrorStruct |
getError(int id) |
java.lang.String |
getLog() |
java.lang.String |
getLog(int id) |
Peach |
getPeach() |
int |
getProjectId() |
boolean |
getReverseMatrix()
Not currently used.
|
boolean |
isCatchErrors()
Get the state of the error catching.
|
boolean |
isDetached()
The state of the detaching.
|
boolean |
isError() |
boolean |
isLogging()
Get the state of the logging.
|
void |
setCatchErrors(boolean value)
Set catching of the errors in the jobs.
|
void |
setClean(Control.CleanMode clean)
Set Cleaning mode.
|
void |
setDetach(boolean detach)
Set the detaching of the job.
|
void |
setLogging(boolean value)
Set logging of the job execution.
|
void |
setPeach(Peach peach)
Use existing Peach.
|
void |
setProjectId(int projectid)
Attach to an existing project.
|
void |
setResultType(java.lang.Class resultType)
Set the class of the expected result.
|
void |
setReverseMatrix(boolean value)
Not currently used.
|
java.lang.String |
toString() |
public Control()
public Control(java.lang.Class resultType)
resultType - inner result type for MultipleOutputs resultspublic Control(boolean detach)
detach - detach the execution, attach back by giving the same Control object to a new callpublic Control(boolean detach,
Control.CleanMode clean)
detach - detach the execution, attach back by giving the same Control object to a new callclean - clean the environmentpublic Control(Peach peach)
peach - use existing peach objectpublic Control(int projectId)
projectId - the project id of the previously started/executed project for attachingpublic Control(java.lang.Class resultType,
boolean detach)
resultType - inner result type for MultipleOutputs resultsdetach - detach the execution, attach back by giving the same Control object to a new callpublic Control(java.lang.Class resultType,
boolean detach,
Control.CleanMode clean)
resultType - inner result type for MultipleOutputs resultsdetach - detach the execution, attach back by giving the same Control object to a new callclean - clean the environmentpublic Control(java.lang.Class resultType,
int projectId)
resultType - inner result type for MultipleOutputs resultsprojectId - the project id of the previously started/executed project for attachingpublic Control(java.lang.Class resultType,
Peach peach,
boolean detach,
Control.CleanMode clean)
resultType - inner result type for MultipleOutputs resultspeach - use existing peach objectdetach - detach the execution, attach back by giving the same Control object to a new callclean - clean the environmentpublic void setDetach(boolean detach)
detach - true to activatepublic void setPeach(Peach peach)
peach - public void setProjectId(int projectid)
projectid - the id of the projectpublic void setClean(Control.CleanMode clean)
clean - public void setResultType(java.lang.Class resultType)
resultType - public boolean isDetached()
public int getProjectId()
public Peach getPeach()
public void setLogging(boolean value)
value - true to activatepublic boolean isLogging()
public void setCatchErrors(boolean value)
value - true to activatepublic boolean isCatchErrors()
public void setReverseMatrix(boolean value)
value - public boolean getReverseMatrix()
public ErrorStruct getError()
public ErrorStruct getError(int id)
id - the id of the error entrypublic boolean isError()
public java.lang.String getLog()
public java.lang.String getLog(int id)
id - the id of the log entrypublic java.lang.String toString()
toString in class java.lang.Object