@ConsumerType
public interface InstallTaskFactory
Modifier and Type | Method and Description |
---|---|
InstallTask |
createTask(TaskResourceGroup toActivate)
Creates an
InstallTask for the resource or
null if the factory does not support the resource. |
InstallTask createTask(TaskResourceGroup toActivate)
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!Copyright © 2015 The Apache Software Foundation. All rights reserved.