public class ProcessBuilderParameters extends ClientBuilderParameters
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
appServer
application server name if defined or null if not defined
|
private java.lang.String |
outputToFile
Output file (optional) to redirect STDOUT
|
private java.lang.String |
process
P2J process name
|
options
Constructor and Description |
---|
ProcessBuilderParameters(ProcessBuilderOptions options)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOutputToFile()
Build a file name for outpuToFile option based on a template.
|
java.lang.String |
getUser()
In case of processes returns the FWD process account name.
|
getBootstrapConfig, getClassPath, getCommand, getConfigFile, getJvmArguments, getLibPath, getMainClass, getPassword, getSpawner, getSpawnerDebugLevel, getUserName, getUuid, getWorkingDirectory, isPasswordAuthentication, isSecure, setPassword, setUserName
private java.lang.String process
private java.lang.String outputToFile
private java.lang.String appServer
public ProcessBuilderParameters(ProcessBuilderOptions options)
options
- A ProcessBuilderOptions instance.public java.lang.String getUser()
getUser
in class ClientBuilderParameters
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.getOutputToFile
in class ClientBuilderParameters