public abstract class ActionAbstract extends Object implements Action
Modifier and Type | Field and Description |
---|---|
protected ActionContext |
context |
boolean |
verbose |
Constructor and Description |
---|
ActionAbstract() |
Modifier and Type | Method and Description |
---|---|
void |
checkOptions(String[] options) |
Object |
execute(ActionContext context) |
String |
getBrokerEtc() |
String |
getBrokerHome() |
String |
getBrokerInstance() |
URI |
getBrokerURIInstance() |
boolean |
isVerbose() |
void |
setHomeValues(File brokerHome,
File brokerInstance) |
public boolean verbose
protected ActionContext context
public void setHomeValues(File brokerHome, File brokerInstance)
setHomeValues
in interface Action
public String getBrokerInstance()
getBrokerInstance
in interface Action
public String getBrokerEtc()
public URI getBrokerURIInstance()
public String getBrokerHome()
getBrokerHome
in interface Action
public Object execute(ActionContext context) throws Exception
public void checkOptions(String[] options) throws InvalidOptionsError
checkOptions
in interface Action
InvalidOptionsError
Copyright © 2019 JBoss by Red Hat. All rights reserved.