public class UserMigration extends AbstractMigration<co.ecg.alpaca.toolkit.generated.User,UserInformation,AbstractTransform<co.ecg.alpaca.toolkit.generated.User,UserInformation>,UserMigration.Step,UserMigration>
UserHelper
Created on: Jun 4, 2015Modifier and Type | Class and Description |
---|---|
static class |
UserMigration.Step |
stepList
errors, log, warnings
Constructor and Description |
---|
UserMigration(UserInformation inputInformation,
AbstractTransform<co.ecg.alpaca.toolkit.generated.User,UserInformation>... transform)
Performs the migration of a
User by removing it and recreating
with the specified add request. |
Modifier and Type | Method and Description |
---|---|
co.ecg.alpaca.toolkit.generated.User |
execute()
Performs the migration process in a step by step approach.
|
UserDestroy |
getUserDestroy() |
UserImport |
getUserImport() |
concurrencyCheck, getDestinationBroadWorksServer, getInput, getInputInformation, getOutput, getOutputInformation, getSourceBroadWorksServer, setOutput
addStep, addStep, all, allBut, isConcurrent, only, removeStep, setConcurrent, 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 UserMigration(UserInformation inputInformation, AbstractTransform<co.ecg.alpaca.toolkit.generated.User,UserInformation>... transform) throws HelperException, co.ecg.licensing.LicenseException
User
by removing it and recreating
with the specified add request. This also migrates the device in the
process. The provided request allow the modification of various
settings during the migration process. All available Services and
settings are transfered.inputInformation
- The input UserInformation to be migratedtransform
- The information transformation to occur prior to the migration processco.ecg.licensing.LicenseException
- Thrown if UserMigration is not licensedHelperException
- Throws an exception if an error during migration occurs.User.UserAddRequest
,
User
public UserImport getUserImport()
public UserDestroy getUserDestroy()
public co.ecg.alpaca.toolkit.generated.User execute() throws HelperException
HelperException
Copyright © 2016. All rights reserved.