@ConsumerType
public interface InstallTaskFactory
Modifier and Type | Field and Description |
---|---|
static String |
NAME
Optional service registration property setting a unique name
for the task factory.
|
Modifier and Type | Method and Description |
---|---|
InstallTask |
createTask(TaskResourceGroup group)
Creates an
InstallTask for the resource or
null if the factory does not support the resource. |
static final String NAME
InstallTask createTask(TaskResourceGroup group)
InstallTask
for the resource or
null
if the factory does not support the resource.
The factory should not alter the state of the resources,
therefore it's not allowed to call one of the setState methods
on the task resource group!group
- The group containing the resource to activate.null
.Copyright © 2017 The Apache Software Foundation. All rights reserved.