|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IBinaryProgram
This object provides functionality which allows you to use a binary program within the BusinessObjects Enterprise framework.
Note: Binary programs are required to use impersonation as a form of additional security. Impersonation is a form of delegation which authorizes another principle to use its identity with restricted privileges. For more information see the IProgramGlobal interface.
| Method Summary | |
|---|---|
void |
addFile(java.lang.String filePath)
Adds an auxiliary file. |
java.lang.String |
getArgs()
Returns the program arguments. |
java.lang.String[] |
getEnvironmentVars()
Returns the environment variables. |
java.lang.String[] |
getExternalDependencies()
Returns the external dependencies for the binary program object. |
java.lang.String |
getFileName()
Return the name of file to be processed. |
java.lang.String[] |
getFileNames()
Returns the names of all files set for processing. |
java.lang.String |
getUserName()
Returns the user name for the system that this object will run on. |
java.lang.String |
getWorkingDir()
Returns the working directory. |
boolean |
isPasswordNotEmpty()
Returns a boolean that indicates whether the password is set and not empty. |
boolean |
isPasswordSet()
Returns a boolean that indicates whether the password is set. |
void |
setArgs(java.lang.String args)
Sets the program arguments. |
void |
setEnvironmentVars(java.lang.String[] envp)
Set the environment variables. |
void |
setExternalDependencies(java.lang.String[] dependencies)
Sets the external dependencies for the binary program object. |
void |
setFile(java.lang.String filePath)
Sets the file to be processed. |
void |
setPassword(java.lang.String password)
Sets the users's password for the system that this object will run on. |
void |
setUserName(java.lang.String userName)
Sets the user name for this object. |
void |
setWorkingDir(java.lang.String workingDir)
Sets the working directory. |
| Method Detail |
|---|
void setFile(java.lang.String filePath)
throws SDKException
Sets the file to be processed.
filePath - A String specifying the file path.
SDKException - This is thrown if the process is unsuccessful.
java.lang.String getFileName()
throws SDKException
Return the name of file to be processed.
String containing the name of the file to be processed.
SDKException - This is thrown if the process is unsuccessful.
void addFile(java.lang.String filePath)
throws SDKException
Adds an auxiliary file.
filePath - A String specifying the file path.
SDKException - This is thrown if the process is unsuccessful.
java.lang.String[] getFileNames()
throws SDKException
Returns the names of all files set for processing.
String array containing the name of all files set for processing.
SDKException - This is thrown if the process is unsuccessful.void setArgs(java.lang.String args)
Sets the program arguments.
args - A String specifying the program arguments.java.lang.String getArgs()
Returns the program arguments.
String containing the program arguments.void setWorkingDir(java.lang.String workingDir)
Sets the working directory.
workingDir - A String specifying the working directory.java.lang.String getWorkingDir()
Returns the working directory.
String containing the working directory.void setEnvironmentVars(java.lang.String[] envp)
Set the environment variables.
envp[] - A String[] array specifying the environment variables.java.lang.String[] getEnvironmentVars()
Returns the environment variables.
String[] array containing the environment variables.void setExternalDependencies(java.lang.String[] dependencies)
Sets the external dependencies for the binary program object.
dependencies[] - A String[] array specifying the external dependencies.java.lang.String[] getExternalDependencies()
Returns the external dependencies for the binary program object.
String array containing the external dependencies.java.lang.String getUserName()
Returns the user name for the system that this object will run on.
String containing the username.void setUserName(java.lang.String userName)
Sets the user name for this object.
userName - A String specifying the user name.void setPassword(java.lang.String password)
Sets the users's password for the system that this object will run on.
password - A String specifying the user's password.
boolean isPasswordSet()
throws SDKException
Returns a boolean that indicates whether the password is set.
Note: the password can be set and contain an empty field.
true if the password is set, and false otherwise.
SDKException - This is thrown if the process is unsuccessful.
boolean isPasswordNotEmpty()
throws SDKException
Returns a boolean that indicates whether the password is set and not empty.
true if the password is set and not empty, and false otherwise.
SDKException - This is thrown if the process is unsuccessful.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||