public interface ConfigFactory
Assisted
constructor parametersModifier and Type | Method and Description |
---|---|
Config |
createExisting(Cluster cluster,
ClusterConfigEntity entity)
Creates a new
Config object using provided entity |
Config |
createNew(Cluster cluster,
String type,
String tag,
Map<String,String> map,
Map<String,Map<String,String>> mapAttributes)
Creates a new
Config object using provided values. |
Config |
createNew(StackId stackId,
Cluster cluster,
String type,
String tag,
Map<String,String> map,
Map<String,Map<String,String>> mapAttributes)
Creates a new
Config object using provided values. |
Config |
createReadOnly(String type,
String tag,
Map<String,String> map,
Map<String,Map<String,String>> mapAttributes)
Creates a read-only instance of a
Config suitable for returning in
REST responses. |
Config createNew(Cluster cluster, String type, String tag, Map<String,String> map, Map<String,Map<String,String>> mapAttributes)
Config
object using provided values.Config createNew(StackId stackId, Cluster cluster, String type, String tag, Map<String,String> map, Map<String,Map<String,String>> mapAttributes)
Config
object using provided values.cluster
- type
- tag
- map
- mapAttributes
- Config createExisting(Cluster cluster, ClusterConfigEntity entity)
Config
object using provided entitycluster
- entity
- Copyright © 2022 Apache Software Foundation. All rights reserved.