public class GroupMigrationEncumbrances extends MigrationEncumbrances<GroupInformation>
Group
to be eligible for migration. These are distinct from
Requirements in that although a group passes all encumbrance checks they can
still be prohibited from migration due to destination requirement issues.Group
log, source, type
Constructor and Description |
---|
GroupMigrationEncumbrances(GroupInformation groupInformation,
MigrationType type)
Creates a GroupMigrationEncumbrances class for the specified Group Information and MigrationType
|
Modifier and Type | Method and Description |
---|---|
List<EncumbranceError> |
checkAllEncumbrances()
Method to check a Group for all possible encumbrances that prevent migration
|
List<EncumbranceError> |
checkUserEncumbrances()
Method to check the User encumbrance
If an of the User's within the Group are encumbered from
this migration type then the Group is also encumbered.
|
public GroupMigrationEncumbrances(GroupInformation groupInformation, MigrationType type) throws HelperException
groupInformation
- The User to checktype
- The MigrationTypeHelperException
public List<EncumbranceError> checkAllEncumbrances() throws HelperException
checkAllEncumbrances
in class MigrationEncumbrances<GroupInformation>
HelperException
public List<EncumbranceError> checkUserEncumbrances()
Copyright © 2016. All rights reserved.