public class GroupMigrationTask extends SingleServerTask
broadWorksServer, log
Constructor and Description |
---|
GroupMigrationTask(String name,
Group group,
ServiceProvider destinationServiceProvider,
String newId)
Task that performs a Group Migration.
|
Modifier and Type | Method and Description |
---|---|
Completion |
getTaskSpecificCompletion() |
void |
task()
The action that the task performs
|
addTaskLogListener, close, compareTo, finish, finish, getCompletion, getName, getResult, getStatus, getTaskLog, getTaskServers, isComplete, logToConsole, postLogMessage, start, stop, taskEvent, waitForResult
public GroupMigrationTask(String name, Group group, ServiceProvider destinationServiceProvider, String newId) throws TaskException
name
- the task id.group
- The Group to migrate.destinationServiceProvider
- The Service Provider to migrate the group to.newId
- The newId to give to the Group. This can be null if not id change is desired.TaskException
- Throw if an error occurs while performing the task.public Completion getTaskSpecificCompletion()
getTaskSpecificCompletion
in class Task
Copyright © 2017 ECG. All rights reserved.