public class GroupMigration extends AbstractMigration<Group,GroupInformation,AbstractTransform<GroupInformation>,GroupMigration.Step,GroupMigration>
GroupHelper
Modifier and Type | Class and Description |
---|---|
static class |
GroupMigration.Step |
stepList
errors, log, warnings
Constructor and Description |
---|
GroupMigration(GroupInformation inputInformation,
AbstractTransform<GroupInformation>... transform)
Performs the migration of a
Group by removing it and recreating
with the specified add request. |
Modifier and Type | Method and Description |
---|---|
void |
checkMigrationValidity()
Checks the migration encumbrances and requirements.
|
Group |
execute()
Performs the migration process in a step by step approach.
|
GroupDestroy |
getGroupDestroy() |
GroupImport |
getGroupImport() |
concurrencyCheck, getDestinationBroadWorksServer, getInput, getInputInformation, getOutput, getOutputInformation, getSourceBroadWorksServer, setOutput
addStep, addStep, all, allBut, getStepCount, isConcurrent, only, removeStep, setConcurrent, step, step
checkValidity, exception, getErrors, getReport, getWarnings, hasErrors, isError, isError, isError, printReport, setExceptionOnErrors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSessionLogger, logger
@SafeVarargs public GroupMigration(GroupInformation inputInformation, AbstractTransform<GroupInformation>... transform) throws HelperException, co.ecg.licensing.LicenseException
Group
by removing it and recreating
with the specified add request. This process attempts to be comprehensive.
It migrates all service settings and Group level service information. In addition,
it migrates complete access device and user information.inputInformation
- The input GroupInformation to be migratedtransform
- The information transformation to occur prior to the migration processco.ecg.licensing.LicenseException
- Thrown if GroupMigration is not licensedHelperException
- Throws an exception if an error during migration occurs.Group.GroupAddRequest
,
Group
public GroupImport getGroupImport()
public GroupDestroy getGroupDestroy()
public Group execute() throws HelperException
HelperException
- Thrown if an error during execution occurs.public void checkMigrationValidity() throws HelperException
HelperException
- Thrown if the migration is invalid.EncumbranceError
Copyright © 2017 ECG. All rights reserved.