public class UserCollectionMigration extends AbstractCollectionMigration<User,UserInformation,AbstractTransform<UserInformation>,UserCollectionMigration.Step,UserCollectionMigration>
Modifier and Type | Class and Description |
---|---|
static class |
UserCollectionMigration.Step |
stepList
errors, log, warnings
Constructor and Description |
---|
UserCollectionMigration(HashMap<User,UserInformation> inputInformations,
GroupInformation destinationInformation,
HashMap<User,List<AbstractTransform<UserInformation>>> transformations)
Creates a new Abstract Collection Migration with the provided input BroadWorksObjects.
|
Modifier and Type | Method and Description |
---|---|
void |
checkMigrationValidity()
Checks the migration encumbrances and requirements.
|
Set<User> |
execute() |
UserCollectionImport |
getUserCollectionImport() |
concurrencyCheck, getDestinationBroadWorksServer, getInputInformations, getInputs, getOutputInformations, getOutputs, getSourceBroadWorksServer, setOutputs
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
public UserCollectionMigration(HashMap<User,UserInformation> inputInformations, GroupInformation destinationInformation, HashMap<User,List<AbstractTransform<UserInformation>>> transformations) throws HelperException, co.ecg.licensing.LicenseException
inputInformations
- A map of BroadWorksObjects to BroadWorksObjectInformationdestinationInformation
- The information of the destination Grouptransformations
- A map of BroadWorksObjects to a list of Abstract Transforms.HelperException
- Thrown if an error occurs.co.ecg.licensing.LicenseException
public UserCollectionImport getUserCollectionImport()
public Set<User> execute() throws HelperException
HelperException
public void checkMigrationValidity() throws HelperException
HelperException
- Thrown if the migration is invalid.EncumbranceError
Copyright © 2017 ECG. All rights reserved.