public class CommandBase extends Object
| Constructor and Description |
|---|
CommandBase() |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
constructMessages() |
void |
initialize() |
boolean |
isDebug() |
protected boolean |
isForce() |
boolean |
isHelp() |
protected void |
printErrorMessage(Exception e) |
void |
validate() |
protected String |
validateInputDirectory(String name,
File directory) |
protected String |
validateInputFile(String name,
File file) |
protected String |
validateOutputFile(String name,
File file) |
public boolean isHelp()
public boolean isDebug()
public void initialize()
public void validate()
throws CommandValidationException
CommandValidationExceptionprotected boolean isForce()
protected void printErrorMessage(Exception e)
Copyright © 2017 JBoss by Red Hat. All rights reserved.