public interface RProjectExecuteCalls
Modifier and Type | Method and Description |
---|---|
void |
deleteResults()
Delete execution results on project.
|
java.io.InputStream |
downloadResults()
Download execution results on project.
|
RProjectExecution |
executeCode(java.lang.String code)
Execute code on project.
|
RProjectExecution |
executeCode(java.lang.String code,
ProjectExecutionOptions options)
Execute code on project.
|
RProjectExecution |
executeExternal(java.lang.String externalSource,
ProjectExecutionOptions options)
Execute a single script found on a URL/path or a chain of scripts found on a set of URLs/paths
on the current project.
|
RProjectExecution |
executeScript(java.lang.String scriptName,
java.lang.String scriptAuthor,
java.lang.String scriptVersion)
Deprecated.
As of release 7.1, use executeScript method that
supports scriptDirectory parameter. This deprecated call assumes
each script is found in the root directory.
|
RProjectExecution |
executeScript(java.lang.String scriptName,
java.lang.String scriptAuthor,
java.lang.String scriptVersion,
ProjectExecutionOptions options)
Deprecated.
As of release 7.1, use executeScript method that
supports scriptDirectory parameter. This deprecated call assumes
each script is found in the root directory.
|
RProjectExecution |
executeScript(java.lang.String scriptName,
java.lang.String scriptDirectory,
java.lang.String scriptAuthor,
java.lang.String scriptVersion)
Execute a single repository-managed script or a chain of repository-managed scripts
on the current project.
|
RProjectExecution |
executeScript(java.lang.String scriptName,
java.lang.String scriptDirectory,
java.lang.String scriptAuthor,
java.lang.String scriptVersion,
ProjectExecutionOptions options)
Execute a single repository-managed script or a chain of repository-managed scripts
on the current project.
|
void |
flushHistory()
Flush execution history on project.
|
java.lang.String |
getConsole()
Retrieve console output on latest execution on project.
|
java.util.List<RProjectExecution> |
getHistory()
Retrieve execution history on project.
|
void |
interruptExecution()
Interrupt execution on project.
|
java.util.List<RProjectResult> |
listResults()
Retreive execution result list on project.
|
RProjectExecution executeCode(java.lang.String code) throws RClientException, RSecurityException, RDataException, RGridException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RDataException
RGridException
RProjectExecution executeCode(java.lang.String code, ProjectExecutionOptions options) throws RClientException, RSecurityException, RDataException, RGridException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RDataException
RGridException
RProjectExecution executeScript(java.lang.String scriptName, java.lang.String scriptAuthor, java.lang.String scriptVersion) throws RClientException, RSecurityException, RDataException, RGridException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RDataException
RGridException
RProjectExecution executeScript(java.lang.String scriptName, java.lang.String scriptAuthor, java.lang.String scriptVersion, ProjectExecutionOptions options) throws RClientException, RSecurityException, RDataException, RGridException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RDataException
RGridException
RProjectExecution executeScript(java.lang.String scriptName, java.lang.String scriptDirectory, java.lang.String scriptAuthor, java.lang.String scriptVersion) throws RClientException, RSecurityException, RDataException, RGridException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RDataException
RGridException
RProjectExecution executeScript(java.lang.String scriptName, java.lang.String scriptDirectory, java.lang.String scriptAuthor, java.lang.String scriptVersion, ProjectExecutionOptions options) throws RClientException, RSecurityException, RDataException, RGridException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RDataException
RGridException
RProjectExecution executeExternal(java.lang.String externalSource, ProjectExecutionOptions options) throws RClientException, RSecurityException, RDataException, RGridException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RDataException
RGridException
java.lang.String getConsole() throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.void interruptExecution() throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.java.util.List<RProjectExecution> getHistory() throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.void flushHistory() throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.java.util.List<RProjectResult> listResults() throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.void deleteResults() throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.java.io.InputStream downloadResults() throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.