public class Commands extends Object
<commands>
<batch>false</batch>
<command>/subsystem=logging/console-handler:CONSOLE:write-attribute(name=level,value=TRACE)</command>
</commands>
| Constructor and Description |
|---|
Commands() |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<String> |
getCommands()
Get the defined commands or an empty list.
|
protected Collection<File> |
getScripts()
Get the defined script files or an empty list.
|
boolean |
hasCommands()
Checks of there are commands that should be executed.
|
boolean |
hasScripts()
Checks of there are a CLI script file that should be executed.
|
boolean |
isBatch()
Indicates whether or not commands should be executed in a batch.
|
protected boolean |
isFailOnError()
Checks where or not subsequent commands should be run or not if a failure occurs.
|
public boolean isBatch()
true if commands should be executed in a batch, otherwise
falsepublic boolean hasCommands()
true if there are commands to be processed, otherwise falseprotected Collection<String> getCommands()
protected Collection<File> getScripts()
protected boolean isFailOnError()
true if subsequent commands should not be executed if there was a failed command, false
if subsequent command should continue to run.public boolean hasScripts()
true if there are a CLI script to be processed, otherwise
falseCopyright © 2016 JBoss by Red Hat. All rights reserved.