public class ProcessBuilderParameters extends ClientBuilderParameters
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
DEFAULT_OUTPUT_TO_FILE
Default file name for the client output.
|
private ProcessBuilderOptions |
options
Default options from directory
|
private java.lang.String |
outputToFile
Output file (optional) to redirect STDOUT
|
| Constructor and Description |
|---|
ProcessBuilderParameters(java.lang.String osUser,
java.lang.String osPass,
ProcessBuilderOptions options)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ProcessBuilderOptions |
getDirOptions()
Returns the directory values to be used by the process builder.
|
java.lang.String |
getOutputToFile()
Build a file name for outpuToFile option based on a template.
|
boolean |
isPasswordAuthentication()
Get the authentication mode for this spawner.
|
getOsPass, getOsUser, getSecurePort, getServerAlias, getUuidprivate static final java.lang.String DEFAULT_OUTPUT_TO_FILE
private final ProcessBuilderOptions options
private final java.lang.String outputToFile
public ProcessBuilderParameters(java.lang.String osUser,
java.lang.String osPass,
ProcessBuilderOptions options)
osUser - The OS account username.osPass - The OS account password.options - A ProcessBuilderOptions instance.public ProcessBuilderOptions getDirOptions()
getDirOptions in class ClientBuilderParameterspublic boolean isPasswordAuthentication()
isPasswordAuthentication in class ClientBuilderParameterstrue indicating that the user's password is required for authentication.public java.lang.String getOutputToFile()
%userid%,
%timestamp% and %appserver% are substituted with the process account name, a
sortable date/time in milliseconds (for the current moment in time) and the application server
name defined for this account (if configured).
%return The configured file name with replaced place holders.