public class GroupMigration extends AbstractMigration<co.ecg.alpaca.toolkit.generated.Group,GroupInformation,co.ecg.alpaca.toolkit.generated.Group.GroupAddRequest,AbstractTransform<co.ecg.alpaca.toolkit.generated.Group,GroupInformation>>
GroupHelper
Created by mkeathley on 3/29/16.addRequest
Constructor and Description |
---|
GroupMigration(GroupInformation inputInformation,
AbstractTransform<co.ecg.alpaca.toolkit.generated.Group,GroupInformation> transform)
Performs the migration of a
Group by removing it and recreating
with the specified add request. |
Modifier and Type | Method and Description |
---|---|
co.ecg.alpaca.toolkit.generated.Group |
execute()
Performs the migration process in a step by step approach.
|
GroupDestroy |
getGroupDestroy() |
GroupImport |
getGroupImport() |
void |
setAddRequest() |
getAddRequest, getDestinationBroadWorksServer, getInput, getInputInformation, getOutput, getOutputInformation, getSourceBroadWorksServer, setOutput
exception, getErrors, hasErrors, hasRan, isNested, setHasErrors, setHasRan, setNested
public GroupMigration(GroupInformation inputInformation, AbstractTransform<co.ecg.alpaca.toolkit.generated.Group,GroupInformation> transform) throws HelperException, co.ecg.licensing.LicenseException
Group
by removing it and recreating
with the specified add request. This process attempts to be comprehensive.
It migrates all service settings and Group level service information. In addition,
it migrates complete access device and user information.inputInformation
- The input GroupInformation to be migratedtransform
- The information transformation to occur prior to the migration processco.ecg.licensing.LicenseException
- Thrown if GroupMigration is not licensedHelperException
- Throws an exception if an error during migration occurs.Group.GroupAddRequest
,
Group
public GroupImport getGroupImport()
public GroupDestroy getGroupDestroy()
public void setAddRequest() throws co.ecg.alpaca.toolkit.exception.RequestException
setAddRequest
in class AbstractMigration<co.ecg.alpaca.toolkit.generated.Group,GroupInformation,co.ecg.alpaca.toolkit.generated.Group.GroupAddRequest,AbstractTransform<co.ecg.alpaca.toolkit.generated.Group,GroupInformation>>
co.ecg.alpaca.toolkit.exception.RequestException
public co.ecg.alpaca.toolkit.generated.Group execute() throws HelperException
execute
in class AbstractMigration<co.ecg.alpaca.toolkit.generated.Group,GroupInformation,co.ecg.alpaca.toolkit.generated.Group.GroupAddRequest,AbstractTransform<co.ecg.alpaca.toolkit.generated.Group,GroupInformation>>
HelperException
Copyright © 2016. All rights reserved.