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()
Deprecated.
Used only for MOJO injection
|
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
getCommands()
Get the defined commands or an empty list.
|
protected List<File> |
getScripts()
Get the defined script files or an empty list.
|
boolean |
hasCommands()
Checks if there are commands that should be executed.
|
boolean |
hasScripts()
Checks if there are CLI script files 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.
|
@Deprecated public Commands()
public boolean isBatch()
true if commands should be executed in a batch, otherwise
falseprotected List<String> getCommands()
protected List<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 hasCommands()
true if there are commands to be processed, otherwise falsepublic boolean hasScripts()
true if there are CLI script files to be processed, otherwise falseCopyright © 2016 JBoss by Red Hat. All rights reserved.