Class CliSession
java.lang.Object
org.wildfly.plugin.cli.CliSession
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the list of CLI commands to execute.String[]Get the list of JVM options to pass to CLI process.Get the properties files used when executing the CLI.booleanGet the expression resolution value.Get the list of CLI script files to execute.voidsetCommands(List<String> commands) Set the list of CLI commands to execute.voidsetJavaOpts(String[] javaOpts) Set the list of JVM options to pass to CLI process.voidsetPropertiesFiles(List<File> propertiesFiles) Set the properties files used when executing the CLI.voidsetResolveExpressions(boolean resolveExpressions) By default, the CLI doesn't resolve expressions located in scripts locally.voidsetScripts(List<File> scripts) Set the list of CLI script files to execute.
-
Constructor Details
-
CliSession
public CliSession()
-
-
Method Details
-
setCommands
-
getCommands
-
setJavaOpts
Set the list of JVM options to pass to CLI process.- Parameters:
javaOpts- List of JVM Options.
-
getJavaOpts
Get the list of JVM options to pass to CLI process.- Returns:
- The list of Java Options
-
setScripts
-
getScripts
-
setPropertiesFiles
-
getPropertiesFiles
-
setResolveExpressions
public void setResolveExpressions(boolean resolveExpressions) By default, the CLI doesn't resolve expressions located in scripts locally. In order to have the expressions resolved locally, set this value to true.- Parameters:
resolveExpressions- True to resolve locally, false to resolve at server execution time.
-
getResolveExpression
public boolean getResolveExpression()Get the expression resolution value.- Returns:
- The expression resolution value.
-