public class DefaultDeploymentGroupManager extends Object implements DeploymentGroupManager
Modifier and Type | Field and Description |
---|---|
static String |
KEY_PREFIX |
static String |
SEPARATOR |
Constructor and Description |
---|
DefaultDeploymentGroupManager(DynamicAttributes dynamicAttributes) |
Modifier and Type | Method and Description |
---|---|
void |
ableGroup(String serviceName,
String groupName,
boolean enable) |
Collection<String> |
getKnownGroups(String serviceName) |
boolean |
isAnyGroupEnabled(String serviceName,
Collection<String> groups) |
boolean |
isGroupEnabled(String serviceName,
String groupName) |
void |
resetGroups(String serviceName,
Map<String,Boolean> newGroupAbles) |
public static final String KEY_PREFIX
public static final String SEPARATOR
public DefaultDeploymentGroupManager(DynamicAttributes dynamicAttributes)
public Collection<String> getKnownGroups(String serviceName)
getKnownGroups
in interface DeploymentGroupManager
public void resetGroups(String serviceName, Map<String,Boolean> newGroupAbles)
resetGroups
in interface DeploymentGroupManager
public void ableGroup(String serviceName, String groupName, boolean enable)
ableGroup
in interface DeploymentGroupManager
public boolean isAnyGroupEnabled(String serviceName, Collection<String> groups)
isAnyGroupEnabled
in interface DeploymentGroupManager
public boolean isGroupEnabled(String serviceName, String groupName)
isGroupEnabled
in interface DeploymentGroupManager
Copyright © 2014–2016 Soabase. All rights reserved.