public class ServiceProviderMigration extends AbstractMigration<co.ecg.alpaca.toolkit.generated.ServiceProvider,ServiceProviderInformation,co.ecg.alpaca.toolkit.generated.ServiceProvider.ServiceProviderAddRequest,AbstractTransform<co.ecg.alpaca.toolkit.generated.ServiceProvider,ServiceProviderInformation>,ServiceProviderMigration.Step,ServiceProviderMigration>
ServiceProviderHelper
Created by mkeathley on 7/12/16.
Modifier and Type | Class and Description |
---|---|
static class |
ServiceProviderMigration.Step |
addRequest
stepList
errors, log
Constructor and Description |
---|
ServiceProviderMigration(ServiceProviderInformation inputInformation,
AbstractTransform<co.ecg.alpaca.toolkit.generated.ServiceProvider,ServiceProviderInformation> transform)
Performs the migration of a
ServiceProvider by removing it and recreating
with the specified add request. |
Modifier and Type | Method and Description |
---|---|
co.ecg.alpaca.toolkit.generated.ServiceProvider |
execute()
Performs the migration process in a step by step approach.
|
ServiceProviderDestroy |
getServiceProviderDestroy() |
ServiceProviderImport |
getServiceProviderImport() |
void |
setAddRequest() |
concurrencyCheck, getAddRequest, getDestinationBroadWorksServer, getInput, getInputInformation, getOutput, getOutputInformation, getSourceBroadWorksServer, setOutput
addStep, addStep, all, allBut, isConcurrent, only, setConcurrent, step
checkValidity, exception, getErrors, hasErrors, isError, isError
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSessionLogger, logger
public ServiceProviderMigration(ServiceProviderInformation inputInformation, AbstractTransform<co.ecg.alpaca.toolkit.generated.ServiceProvider,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 void setAddRequest() throws co.ecg.alpaca.toolkit.exception.RequestException
setAddRequest
in class AbstractMigration<co.ecg.alpaca.toolkit.generated.ServiceProvider,ServiceProviderInformation,co.ecg.alpaca.toolkit.generated.ServiceProvider.ServiceProviderAddRequest,AbstractTransform<co.ecg.alpaca.toolkit.generated.ServiceProvider,ServiceProviderInformation>,ServiceProviderMigration.Step,ServiceProviderMigration>
co.ecg.alpaca.toolkit.exception.RequestException
public co.ecg.alpaca.toolkit.generated.ServiceProvider execute() throws HelperException
HelperException
Copyright © 2016. All rights reserved.