public class CliSession extends Object
| Constructor and Description |
|---|
CliSession() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getCommands()
Get the list of CLI commands to execute.
|
String[] |
getJavaOpts()
Get the list of JVM options to pass to CLI process.
|
List<File> |
getPropertiesFiles()
Get the properties files used when executing the CLI.
|
boolean |
getResolveExpression()
Get the expression resolution value.
|
List<File> |
getScripts()
Get the list of CLI script files to execute.
|
void |
setCommands(List<String> commands)
Set the list of CLI commands to execute.
|
void |
setJavaOpts(String[] javaOpts)
Set the list of JVM options to pass to CLI process.
|
void |
setPropertiesFiles(List<File> propertiesFiles)
Set the properties files used when executing the CLI.
|
void |
setResolveExpressions(boolean resolveExpressions)
By default, the CLI doesn't resolve expressions located in scripts locally.
|
void |
setScripts(List<File> scripts)
Set the list of CLI script files to execute.
|
public void setCommands(List<String> commands)
commands - List of script CLI commandspublic List<String> getCommands()
public void setJavaOpts(String[] javaOpts)
javaOpts - List of JVM Options.public String[] getJavaOpts()
public void setScripts(List<File> scripts)
scripts - List of script file paths.public List<File> getScripts()
public void setPropertiesFiles(List<File> propertiesFiles)
propertiesFiles - List of Path to properties file.public List<File> getPropertiesFiles()
public void setResolveExpressions(boolean resolveExpressions)
resolveExpressions - True to resolve locally, false to resolve at server execution time.public boolean getResolveExpression()
Copyright © 2021 JBoss by Red Hat. All rights reserved.