Modifier and Type | Method and Description |
---|---|
Map<String,Config> |
ConfigGroupRequest.getConfigs() |
Modifier and Type | Method and Description |
---|---|
void |
ConfigGroupRequest.setConfigs(Map<String,Config> configs) |
Constructor and Description |
---|
ConfigGroupRequest(Long id,
String clusterName,
String groupName,
String tag,
String description,
Set<String> hosts,
Map<String,Config> configs) |
Modifier and Type | Class and Description |
---|---|
class |
ConfigImpl |
Modifier and Type | Method and Description |
---|---|
Config |
ConfigFactory.createExisting(Cluster cluster,
ClusterConfigEntity entity) |
Config |
ConfigFactory.createNew(Cluster cluster,
String type,
Map<String,String> map) |
Config |
Cluster.getConfig(String configType,
String versionTag)
Gets the specific config that matches the specified type and tag.
|
Config |
Cluster.getDesiredConfigByType(String configType)
Gets the desired (and selected) config by type.
|
Modifier and Type | Method and Description |
---|---|
Collection<Config> |
Cluster.getAllConfigs()
Gets all configurations defined for a cluster.
|
Map<String,Config> |
Cluster.getConfigsByType(String configType)
Gets all configs that match the specified type.
|
Modifier and Type | Method and Description |
---|---|
void |
Cluster.addConfig(Config config)
Sets a specific config.
|
boolean |
Host.addDesiredConfig(long clusterId,
boolean selected,
String user,
Config config)
Adds a desired configuration to the host instance.
|
boolean |
Cluster.addDesiredConfig(String user,
Config config)
Adds and sets a DESIRED configuration to be applied to a cluster.
|
Modifier and Type | Method and Description |
---|---|
Config |
ClusterImpl.getConfig(String configType,
String versionTag) |
Config |
ClusterImpl.getDesiredConfigByType(String configType) |
Modifier and Type | Method and Description |
---|---|
Collection<Config> |
ClusterImpl.getAllConfigs() |
Map<String,Config> |
ClusterImpl.getConfigsByType(String configType) |
Modifier and Type | Method and Description |
---|---|
void |
ClusterImpl.addConfig(Config config) |
boolean |
ClusterImpl.addDesiredConfig(String user,
Config config) |
Modifier and Type | Method and Description |
---|---|
Map<String,Config> |
ConfigGroupImpl.getConfigurations() |
Map<String,Config> |
ConfigGroup.getConfigurations()
List of @Config objects
|
Modifier and Type | Method and Description |
---|---|
void |
ConfigGroupImpl.addConfiguration(Config config) |
void |
ConfigGroup.addConfiguration(Config config)
Add config to the config group
|
Modifier and Type | Method and Description |
---|---|
ConfigGroup |
ConfigGroupFactory.createNew(Cluster cluster,
String name,
String tag,
String description,
Map<String,Config> configs,
Map<String,Host> hosts) |
void |
ConfigGroupImpl.setConfigurations(Map<String,Config> configs)
Helper method to recreate configs mapping
|
void |
ConfigGroup.setConfigurations(Map<String,Config> configs)
Reassign the set of configs associated with this config group
|
Constructor and Description |
---|
ConfigGroupImpl(Cluster cluster,
String name,
String tag,
String description,
Map<String,Config> configs,
Map<String,Host> hosts,
com.google.inject.Injector injector) |
Modifier and Type | Method and Description |
---|---|
boolean |
HostImpl.addDesiredConfig(long clusterId,
boolean selected,
String user,
Config config) |
Copyright © 2015. All rights reserved.