public interface RClient
Modifier and Type | Method and Description |
---|---|
RScriptExecution |
executeExternal(java.lang.String externalSource,
AnonymousProjectExecutionOptions options)
Execute a single script found on a URL/path or a chain of scripts found on a set of URLs/paths
on an anonymous project.
|
RScriptExecution |
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.
|
RScriptExecution |
executeScript(java.lang.String scriptName,
java.lang.String scriptAuthor,
java.lang.String scriptVersion,
AnonymousProjectExecutionOptions 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.
|
RScriptExecution |
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 an anonymous project.
|
RScriptExecution |
executeScript(java.lang.String scriptName,
java.lang.String scriptDirectory,
java.lang.String scriptAuthor,
java.lang.String scriptVersion,
AnonymousProjectExecutionOptions options)
Execute a single repository-managed script or a chain of repository-managed scripts
on an anonymous project.
|
java.util.List<java.lang.String> |
executeShell(java.lang.String shellName,
java.lang.String shellDirectory,
java.lang.String shellAuthor,
java.lang.String shellVersion,
java.lang.String args)
Execute a repository-managed shell script.
|
void |
interruptScript()
Interrupts the current execution on the HTTP blackbox project associated
with the current HTTP session.
|
RUser |
login(RAuthentication pAuthentication)
Authenticate with the DeployR server.
|
RUser |
login(RAuthentication pAuthentication,
boolean disableautosave)
Authenticate with the DeployR server.
|
void |
logout(RUser user)
Logout from the DeployR server.
|
void |
release()
Shutdown the client connection releasing any resources
associated with the connection.
|
java.net.URL |
renderScript(java.lang.String scriptName,
java.lang.String scriptDirectory,
java.lang.String scriptAuthor,
java.lang.String scriptVersion,
AnonymousProjectExecutionOptions options)
Execute a single repository-managed script or a chain of repository-managed scripts
on an anonymous project and render the outputs to a HTML page.
|
RUser login(RAuthentication pAuthentication) throws RClientException, RSecurityException
pAuthentication
- - an authentication token.RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RUser
RUser login(RAuthentication pAuthentication, boolean disableautosave) throws RClientException, RSecurityException
pAuthentication
- - an authentication token.disableautosave
- - when true, disables persistent project auto-save semantics for duration of user session.RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.void logout(RUser user) throws RClientException, RSecurityException
user
- a managed user referenceRClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.@Deprecated RScriptExecution 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
RScriptExecution
@Deprecated RScriptExecution executeScript(java.lang.String scriptName, java.lang.String scriptAuthor, java.lang.String scriptVersion, AnonymousProjectExecutionOptions 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
RScriptExecution
RScriptExecution 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
RScriptExecution
RScriptExecution executeScript(java.lang.String scriptName, java.lang.String scriptDirectory, java.lang.String scriptAuthor, java.lang.String scriptVersion, AnonymousProjectExecutionOptions 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
RScriptExecution
RScriptExecution executeExternal(java.lang.String externalSource, AnonymousProjectExecutionOptions 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
RScriptExecution
java.net.URL renderScript(java.lang.String scriptName, java.lang.String scriptDirectory, java.lang.String scriptAuthor, java.lang.String scriptVersion, AnonymousProjectExecutionOptions options) throws RClientException, RDataException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RDataException
RScriptExecution
java.util.List<java.lang.String> executeShell(java.lang.String shellName, java.lang.String shellDirectory, java.lang.String shellAuthor, java.lang.String shellVersion, java.lang.String args) throws RClientException, RSecurityException, RDataException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RDataException
void interruptScript() throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RScriptExecution
void release()