|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServerGroupOperations
Operations that can be performed with server groups are exposed through this interface
| Method Summary | |
|---|---|
void |
createGroup(String name,
String description,
Collection<String> serverIds)
Create server group and move given servers to that group |
void |
deleteGroup(String groupName)
|
List<ServerInfo> |
expandGroup(String groupName)
|
List<ServerGroup> |
getAllGroups()
|
ServerGroup |
getGroup(String groupName)
|
List<Long> |
getGroupAncestorsIds(Long groupId)
|
List<ServerGroup> |
getGroups(String groupName)
|
void |
moveGroupOutOfParentGroup(String childGroupName)
Move given server group out of parent server groups it may have |
void |
moveGroupToGroup(String parentGroupname,
String childGroupName)
Move existing serverGroup childGroupName under existing serverGroup groupName |
void |
moveServersOutOfParentGroups(Collection<String> serverIds)
Move given servers out of potential parent groups they may have |
void |
moveServersOutOfParentGroups(String... serverIds)
|
void |
moveServersOutOfParentGroups(String groupName,
Collection<String> serverIds)
Deprecated. - this method must be used when Command Center has older version than 2.6.1 - presence of parent group was checked in version 2.6 |
void |
moveServersToGroup(String groupName,
Collection<String> serverIds)
|
void |
moveServersToGroup(String groupName,
String... serverIds)
|
| Method Detail |
|---|
void createGroup(String name,
String description,
Collection<String> serverIds)
void moveServersToGroup(String groupName,
String... serverIds)
void moveServersToGroup(String groupName,
Collection<String> serverIds)
void moveGroupToGroup(String parentGroupname,
String childGroupName)
childGroupName under existing serverGroup groupName
parentGroupname - - name of the parent groupchildGroupName - - name of the child groupvoid moveServersOutOfParentGroups(String... serverIds)
moveServersOutOfParentGroups(Collection)void moveServersOutOfParentGroups(Collection<String> serverIds)
serverIds -
void moveServersOutOfParentGroups(String groupName,
Collection<String> serverIds)
groupName - - name of a server group (doesn't really matter which, until it exists - that is why it is deprecated)serverIds - void moveGroupOutOfParentGroup(String childGroupName)
childGroupName - List<ServerGroup> getAllGroups()
List<ServerGroup> getGroups(String groupName)
groupName -
ServerGroup getGroup(String groupName)
groupName - - name of the server group
List<Long> getGroupAncestorsIds(Long groupId)
groupId -
List<ServerInfo> expandGroup(String groupName)
void deleteGroup(String groupName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||