public abstract class ContainerCreateSupport extends FabricCommand
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Boolean |
isEnsembleServer |
protected java.lang.String |
jvmOpts |
protected java.util.List<java.lang.String> |
profiles |
protected java.lang.String |
resolver |
protected java.lang.String |
version |
protected java.lang.String |
zookeeperPassword |
AGENT_PID, configurationAdmin, fabricService| Constructor and Description |
|---|
ContainerCreateSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
displayContainers(CreateContainerMetadata[] metadatas) |
java.util.List<java.lang.String> |
getProfileNames() |
protected void |
postCreateContainers(CreateContainerMetadata[] metadatas)
Post logic after the containers have been created.
|
protected void |
preCreateContainer(java.lang.String name)
Pre validates input before creating the container(s)
|
checkFabricAvailable, doesContainerExist, getConfigurationAdmin, getContainer, getFabricService, getProfile, getProfiles, getProfiles, getZooKeeper, isPartOfEnsemble, percentText, setConfigurationAdmin, setFabricService, setZooKeeper, toStringprotected java.lang.String version
protected java.util.List<java.lang.String> profiles
protected java.lang.String resolver
protected java.lang.Boolean isEnsembleServer
protected java.lang.String zookeeperPassword
protected java.lang.String jvmOpts
public java.util.List<java.lang.String> getProfileNames()
protected void preCreateContainer(java.lang.String name)
throws java.lang.IllegalArgumentException
name - the name of the container to createjava.lang.IllegalArgumentException - is thrown if input is invalidprotected void postCreateContainers(CreateContainerMetadata[] metadatas)
metadatas - the created containersprotected void displayContainers(CreateContainerMetadata[] metadatas)
Copyright © 2014 Red Hat. All Rights Reserved.