public abstract class AbstractApplicationCommand extends Object
Modifier and Type | Field and Description |
---|---|
static String |
KEY_DEPLOY_TIMEOUT |
static String |
KEY_GROUPS |
static String |
KEY_HELP1 |
static String |
KEY_HELP2 |
static String |
KEY_LOCATORS |
static String |
KEY_PASSWORD |
static String |
KEY_SECURED |
static String |
KEY_TIMEOUT |
static String |
KEY_UNDEPLOY_TIMEOUT |
static String |
KEY_USER |
Constructor and Description |
---|
AbstractApplicationCommand() |
Modifier and Type | Method and Description |
---|---|
protected void |
debug(String message) |
protected String[] |
getGroups() |
protected String |
getLocators() |
protected Log |
getLogger() |
protected int |
getLookupTimeout() |
protected boolean |
getManaged() |
Boolean |
getSecured() |
protected long |
getTimeout() |
protected UserDetails |
getUserDetails() |
protected void |
info(String message) |
protected boolean |
isDisableInfoLogging() |
protected boolean |
isSout() |
protected void |
parseArgs(String[] args) |
void |
setCredentialsProvider(CredentialsProvider credentialsProvider) |
void |
setDisableInfoLogging(boolean disableInfoLogging) |
void |
setGroups(String[] groups) |
void |
setLocators(String locators) |
void |
setLookupTimeout(int lookupTimeout) |
void |
setManaged(boolean managed) |
void |
setSecured(boolean secured) |
void |
setSecured(Boolean secured) |
void |
setSout(boolean sout) |
void |
setTimeout(long timeout) |
void |
setUserDetails(String userName,
String password) |
void |
setUserDetails(UserDetails userDetails) |
String |
toString() |
protected GridServiceManager |
waitForGridServiceManager() |
public static final String KEY_HELP1
public static final String KEY_HELP2
public static final String KEY_GROUPS
public static final String KEY_LOCATORS
public static final String KEY_TIMEOUT
public static final String KEY_DEPLOY_TIMEOUT
public static final String KEY_UNDEPLOY_TIMEOUT
public static final String KEY_USER
public static final String KEY_PASSWORD
public static final String KEY_SECURED
public Boolean getSecured()
public void setCredentialsProvider(CredentialsProvider credentialsProvider)
public void setSecured(Boolean secured)
protected Log getLogger()
protected String[] getGroups()
protected String getLocators()
protected int getLookupTimeout()
protected long getTimeout()
protected boolean isSout()
protected boolean isDisableInfoLogging()
protected UserDetails getUserDetails()
protected boolean getManaged()
public void setDisableInfoLogging(boolean disableInfoLogging)
public void setSout(boolean sout)
public void setGroups(String[] groups)
public void setLocators(String locators)
public void setLookupTimeout(int lookupTimeout)
public void setSecured(boolean secured)
public void setUserDetails(UserDetails userDetails)
public void setTimeout(long timeout)
public void setManaged(boolean managed)
protected void info(String message)
protected void debug(String message)
protected void parseArgs(String[] args)
protected GridServiceManager waitForGridServiceManager() throws TimeoutException
TimeoutException
Copyright © GigaSpaces.