@NotThreadSafe public class CreateContainerBasicOptions<T extends CreateContainerBasicOptions> extends CreateEnsembleOptions implements CreateContainerOptions
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateContainerBasicOptions.Builder<B extends CreateContainerBasicOptions.Builder<?>> |
AGENT_AUTOSTART, DEFAULT_DATA_DIR, DEFAULT_IMPORT_PATH, DEFAULT_INIT_LIMIT, DEFAULT_MIGRATION_TIMEOUT, DEFAULT_SYNC_LIMIT, DEFAULT_TICKTIME, ENSEMBLE_AUTOSTART, PROFILES_AUTOIMPORT, PROFILES_AUTOIMPORT_PATH, ROLE_DELIMITER, ZOOKEEPER_PASSWORD, ZOOKEEPER_SERVER_CONNECTION_PORT, ZOOKEEPER_SERVER_PORTBIND_ADDRESS, DEFAULT_VERSION, PROFILES, VERSION| Modifier | Constructor and Description |
|---|---|
protected |
CreateContainerBasicOptions(String bindAddress,
String resolver,
String globalResolver,
String manualIp,
int minimumPort,
int maximumPort,
Set<String> profiles,
String version,
Map<String,String> dataStoreProperties,
int getZooKeeperServerPort,
int zooKeeperServerConnectionPort,
String zookeeperPassword,
boolean ensembleStart,
boolean agentEnabled,
boolean waitForProvision,
long provisionTimeout,
boolean autoImportEnabled,
String importPath,
Map<String,String> users,
String name,
String parent,
String providerType,
boolean ensembleServer,
String preferredAddress,
Map<String,Properties> systemProperties,
Integer number,
URI proxyUri,
String zookeeperUrl,
String jvmOpts,
boolean adminAccess,
boolean clean) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBindAddress() |
String |
getJvmOpts() |
String |
getManualIp() |
int |
getMaximumPort() |
Map<String,CreateContainerMetadata<T>> |
getMetadataMap() |
int |
getMinimumPort() |
String |
getName() |
Integer |
getNumber() |
String |
getParent() |
String |
getPreferredAddress() |
String |
getProviderType() |
URI |
getProxyUri() |
String |
getResolver() |
Map<String,Properties> |
getSystemProperties() |
String |
getVersion() |
String |
getZookeeperPassword() |
String |
getZookeeperUrl() |
boolean |
isAdminAccess() |
boolean |
isEnsembleServer() |
CreateContainerOptions |
updateCredentials(String user,
String credential)
Creates a new instance of
CreateContainerOptions with updated credentials. |
builder, generatePassword, getBootstrapTimeout, getImportPath, getMigrationTimeout, getUsers, getZooKeeperServerConnectionPort, getZooKeeperServerDataDir, getZooKeeperServerInitLimit, getZooKeeperServerPort, getZooKeeperServerSyncLimit, getZooKeeperServerTickTime, isAgentEnabled, isAutoImportEnabled, isClean, isEnsembleStart, isWaitForProvision, toStringgetDataStoreProperties, getGlobalResolver, getProfilesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetProfilesprotected CreateContainerBasicOptions(String bindAddress, String resolver, String globalResolver, String manualIp, int minimumPort, int maximumPort, Set<String> profiles, String version, Map<String,String> dataStoreProperties, int getZooKeeperServerPort, int zooKeeperServerConnectionPort, String zookeeperPassword, boolean ensembleStart, boolean agentEnabled, boolean waitForProvision, long provisionTimeout, boolean autoImportEnabled, String importPath, Map<String,String> users, String name, String parent, String providerType, boolean ensembleServer, String preferredAddress, Map<String,Properties> systemProperties, Integer number, URI proxyUri, String zookeeperUrl, String jvmOpts, boolean adminAccess, boolean clean)
public String getProviderType()
getProviderType in interface CreateContainerOptionspublic CreateContainerOptions updateCredentials(String user, String credential)
CreateContainerOptionsCreateContainerOptions with updated credentials.updateCredentials in interface CreateContainerOptionspublic String getName()
getName in interface CreateContainerOptionspublic String getParent()
getParent in interface CreateContainerOptionspublic boolean isEnsembleServer()
isEnsembleServer in interface CreateContainerOptionspublic String getPreferredAddress()
getPreferredAddress in interface CreateContainerOptionspublic String getBindAddress()
getBindAddress in interface CreateContainerOptionsgetBindAddress in class ContainerOptionspublic String getResolver()
getResolver in interface CreateContainerOptionsgetResolver in class ContainerOptionspublic String getManualIp()
getManualIp in interface CreateContainerOptionsgetManualIp in class ContainerOptionspublic int getMinimumPort()
getMinimumPort in interface CreateContainerOptionsgetMinimumPort in class ContainerOptionspublic int getMaximumPort()
getMaximumPort in interface CreateContainerOptionsgetMaximumPort in class ContainerOptionspublic Map<String,Properties> getSystemProperties()
getSystemProperties in interface CreateContainerOptionspublic Integer getNumber()
getNumber in interface CreateContainerOptionspublic URI getProxyUri()
getProxyUri in interface CreateContainerOptionspublic String getZookeeperUrl()
getZookeeperUrl in interface CreateContainerOptionspublic String getZookeeperPassword()
getZookeeperPassword in interface CreateContainerOptionsgetZookeeperPassword in class CreateEnsembleOptionspublic String getJvmOpts()
getJvmOpts in interface CreateContainerOptionspublic boolean isAdminAccess()
isAdminAccess in interface CreateContainerOptionspublic Map<String,CreateContainerMetadata<T>> getMetadataMap()
getMetadataMap in interface CreateContainerOptionspublic String getVersion()
getVersion in interface CreateContainerOptionsgetVersion in class ContainerOptionsCopyright © 2011–2014 Red Hat. All rights reserved.