public class UserCollectionImport extends IterableProcess<UserCollectionImport,UserCollectionImport.Step> implements Executable
User
on the BroadWorks system given the provided collection of UserInformation
.Modifier and Type | Class and Description |
---|---|
static class |
UserCollectionImport.Step |
stepList
errors, log, warnings
Constructor and Description |
---|
UserCollectionImport(BroadWorksServer broadWorksServer,
List<UserInformation> users,
GroupInformation destinationInformation)
Creates a User Collection Import with the provided BroadWorksServer User list.
|
Modifier and Type | Method and Description |
---|---|
void |
checkMigrationValidity()
Method to check migration validity.
|
void |
concurrencyCheck() |
Set<User> |
execute() |
void |
registerForEvents()
Registers the import to receive events
|
void |
unregister()
Removes this object from the EventBus
|
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 UserCollectionImport(BroadWorksServer broadWorksServer, List<UserInformation> users, GroupInformation destinationInformation) throws HelperException
broadWorksServer
- The BroadWorksServer object.users
- The list of Users to be imported.HelperException
- Thrown if an error occurs.public Set<User> execute() throws HelperException
execute
in interface Executable
HelperException
public void checkMigrationValidity() throws HelperException
HelperException
- Thrown if migration requirements are found.RequirementError
public void concurrencyCheck()
public void registerForEvents()
public void unregister()
Copyright © 2017 ECG. All rights reserved.