public class ServiceProviderMigration extends AbstractMigration<ServiceProvider,ServiceProviderInformation,AbstractTransform<ServiceProviderInformation>,ServiceProviderMigration.Step,ServiceProviderMigration>
ServiceProviderHelper
Modifier and Type | Class and Description |
---|---|
static class |
ServiceProviderMigration.Step |
stepList
errors, log, warnings
Constructor and Description |
---|
ServiceProviderMigration(ServiceProviderInformation inputInformation,
AbstractTransform<ServiceProviderInformation>... transform)
Performs the migration of a
ServiceProvider by removing it and recreating
with the specified add request. |
Modifier and Type | Method and Description |
---|---|
void |
checkMigrationValidity()
Checks the migration encumbrances and requirements.
|
ServiceProvider |
execute()
Performs the migration process in a step by step approach.
|
ServiceProviderDestroy |
getServiceProviderDestroy() |
ServiceProviderImport |
getServiceProviderImport() |
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 ServiceProviderMigration(ServiceProviderInformation inputInformation, AbstractTransform<ServiceProviderInformation>... transform) throws HelperException, co.ecg.licensing.LicenseException
ServiceProvider
by removing it and recreating
with the specified add request. This process attempts to be comprehensive.inputInformation
- The input ServiceProviderInformation to be migratedtransform
- The information transformation to occur prior to the migration processco.ecg.licensing.LicenseException
- Thrown if ServiceProviderMigration is not licensedHelperException
- Throws an exception if an error during migration occurs.ServiceProvider.ServiceProviderAddRequest
,
ServiceProvider
public ServiceProviderImport getServiceProviderImport()
public ServiceProviderDestroy getServiceProviderDestroy()
public ServiceProvider execute() throws HelperException
HelperException
- Thrown if an error occurs during migration.public void checkMigrationValidity() throws HelperException
HelperException
- Thrown if the migration is invalid.EncumbranceError
Copyright © 2017 ECG. All rights reserved.