Class DefaultLifeCycleRepository
- java.lang.Object
-
- org.opennms.netmgt.provision.service.lifecycle.DefaultLifeCycleRepository
-
- All Implemented Interfaces:
LifeCycleRepository
public class DefaultLifeCycleRepository extends Object implements LifeCycleRepository
DefaultLifeCycleRepository class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description DefaultLifeCycleRepository(TaskCoordinator coordinator)
Constructor for DefaultLifeCycleRepository.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLifeCycle(LifeCycle lifeCycle)
addLifeCycleLifeCycleInstance
createLifeCycleInstance(String lifeCycleName, Object... providers)
createLifeCycleInstanceLifeCycleInstance
createNestedLifeCycleInstance(BatchTask containingPhase, String lifeCycleName, Object... providers)
createNestedLifeCycleInstancevoid
setLifeCycles(List<LifeCycle> lifecycles)
setLifeCycles
-
-
-
Constructor Detail
-
DefaultLifeCycleRepository
public DefaultLifeCycleRepository(TaskCoordinator coordinator)
Constructor for DefaultLifeCycleRepository.
- Parameters:
coordinator
- aTaskCoordinator
object.
-
-
Method Detail
-
createNestedLifeCycleInstance
public LifeCycleInstance createNestedLifeCycleInstance(BatchTask containingPhase, String lifeCycleName, Object... providers)
createNestedLifeCycleInstance
- Specified by:
createNestedLifeCycleInstance
in interfaceLifeCycleRepository
- Parameters:
containingPhase
- aBatchTask
object.lifeCycleName
- aString
object.providers
- aObject
object.- Returns:
- a
LifeCycleInstance
object.
-
createLifeCycleInstance
public LifeCycleInstance createLifeCycleInstance(String lifeCycleName, Object... providers)
createLifeCycleInstance
- Specified by:
createLifeCycleInstance
in interfaceLifeCycleRepository
- Parameters:
lifeCycleName
- aString
object.providers
- aObject
object.- Returns:
- a
LifeCycleInstance
object.
-
addLifeCycle
public void addLifeCycle(LifeCycle lifeCycle)
addLifeCycle
- Parameters:
lifeCycle
- aLifeCycle
object.
-
-