public interface ConfigGroupFactory
Modifier and Type | Method and Description |
---|---|
ConfigGroup |
createExisting(Cluster cluster,
ConfigGroupEntity entity)
Instantiates a
ConfigGroup from an existing, persisted entity. |
ConfigGroup |
createNew(Cluster cluster,
String serviceName,
String name,
String tag,
String description,
Map<String,Config> configs,
Map<Long,Host> hosts)
Creates and saves a new
ConfigGroup . |
ConfigGroup createNew(Cluster cluster, @Nullable String serviceName, String name, String tag, String description, Map<String,Config> configs, Map<Long,Host> hosts)
ConfigGroup
.ConfigGroup createExisting(Cluster cluster, ConfigGroupEntity entity)
ConfigGroup
from an existing, persisted entity.Copyright © 2022 Apache Software Foundation. All rights reserved.