public class ServiceProviderAccessDeviceMigration extends AbstractDeviceMigration<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice,co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice.ServiceProviderAccessDeviceAddRequest,ServiceProviderAccessDeviceMigration.Step,ServiceProviderAccessDeviceMigration>
DeviceHelper
Modifier and Type | Class and Description |
---|---|
static class |
ServiceProviderAccessDeviceMigration.Step |
addRequest
stepList
errors, log
Constructor and Description |
---|
ServiceProviderAccessDeviceMigration(AccessDeviceInformation<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice> inputInformation,
AbstractTransform<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice,AccessDeviceInformation<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice>> transformation)
Creates a new ServiceProviderAccessDevice migration object with the input device as the source and the add request as the target.
|
Modifier and Type | Method and Description |
---|---|
co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice |
execute()
Performs Migration of a Service Provider Access Device.
|
ServiceProviderAccessDeviceDestroy |
getServiceProviderAccessDeviceDestroy() |
ServiceProviderAccessDeviceImport |
getServiceProviderAccessDeviceImport() |
void |
setAddRequest() |
checkDeviceTypeCompatibility
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 ServiceProviderAccessDeviceMigration(AccessDeviceInformation<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice> inputInformation, AbstractTransform<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice,AccessDeviceInformation<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice>> transformation) throws HelperException, co.ecg.licensing.LicenseException
inputInformation
- The input Device Informationtransformation
- The transformation to occur on the information before migrationco.ecg.licensing.LicenseException
- Thrown if DeviceMigration is not licensedHelperException
- Thrown when an error occurs during the creation of the migration objectServiceProviderAccessDevice
public ServiceProviderAccessDeviceDestroy getServiceProviderAccessDeviceDestroy()
public ServiceProviderAccessDeviceImport getServiceProviderAccessDeviceImport()
public void setAddRequest() throws co.ecg.alpaca.toolkit.exception.RequestException
setAddRequest
in class AbstractMigration<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice,AccessDeviceInformation<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice>,co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice.ServiceProviderAccessDeviceAddRequest,AbstractTransform<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice,AccessDeviceInformation<co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice>>,ServiceProviderAccessDeviceMigration.Step,ServiceProviderAccessDeviceMigration>
co.ecg.alpaca.toolkit.exception.RequestException
public co.ecg.alpaca.toolkit.generated.ServiceProviderAccessDevice execute() throws HelperException
RequestHelper
.HelperException
- Thrown when an error is occured during the migration processServiceProviderAccessDevice
Copyright © 2016. All rights reserved.