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 DeploymentGroupManagerpublic void resetGroups(String serviceName, Map<String,Boolean> newGroupAbles)
resetGroups in interface DeploymentGroupManagerpublic void ableGroup(String serviceName, String groupName, boolean enable)
ableGroup in interface DeploymentGroupManagerpublic boolean isAnyGroupEnabled(String serviceName, Collection<String> groups)
isAnyGroupEnabled in interface DeploymentGroupManagerpublic boolean isGroupEnabled(String serviceName, String groupName)
isGroupEnabled in interface DeploymentGroupManagerCopyright © 2014–2016 Soabase. All rights reserved.