@ConsumerType
public interface InstallTaskFactory
Modifier and Type | Field and Description |
---|---|
static java.lang.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 java.lang.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 © 2018 The Apache Software Foundation. All rights reserved.