public class StorageInstaller extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
STATUS_CQL_PORT_CONFLICT |
static int |
STATUS_DATA_DIR_NOT_EMPTY |
static int |
STATUS_DEPLOYMENT_ERROR |
static int |
STATUS_FAILED_TO_VERIFY_NODE_UP |
static int |
STATUS_GOSSIP_PORT_CONFLICT |
static int |
STATUS_INVALID_FILE_PERMISSIONS |
static int |
STATUS_INVALID_UPGRADE |
static int |
STATUS_IO_ERROR |
static int |
STATUS_JMX_PORT_CONFLICT |
static int |
STATUS_NO_ERRORS |
static int |
STATUS_SHOW_USAGE |
static int |
STATUS_STORAGE_NOT_RUNNING |
static int |
STATUS_UNKNOWN_HOST |
| Constructor and Description |
|---|
StorageInstaller() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
exec(org.apache.commons.exec.Executor executor,
org.apache.commons.exec.CommandLine cmdLine) |
protected Deployer |
getDeployer()
This can be overridden to allow for custom deploy behavior.
|
org.apache.commons.cli.Options |
getHelpOptions() |
org.apache.commons.cli.Options |
getOptions() |
static void |
main(String[] args) |
void |
printUsage() |
int |
run(org.apache.commons.cli.CommandLine cmdLine) |
public static final int STATUS_NO_ERRORS
public static final int STATUS_STORAGE_NOT_RUNNING
public static final int STATUS_FAILED_TO_VERIFY_NODE_UP
public static final int STATUS_INVALID_FILE_PERMISSIONS
public static final int STATUS_DATA_DIR_NOT_EMPTY
public static final int STATUS_SHOW_USAGE
public static final int STATUS_INVALID_UPGRADE
public static final int STATUS_DEPLOYMENT_ERROR
public static final int STATUS_IO_ERROR
public static final int STATUS_JMX_PORT_CONFLICT
public static final int STATUS_CQL_PORT_CONFLICT
public static final int STATUS_GOSSIP_PORT_CONFLICT
public static final int STATUS_UNKNOWN_HOST
protected Deployer getDeployer()
protected void exec(org.apache.commons.exec.Executor executor,
org.apache.commons.exec.CommandLine cmdLine)
throws IOException
IOExceptionpublic void printUsage()
public org.apache.commons.cli.Options getHelpOptions()
public org.apache.commons.cli.Options getOptions()
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.