Class Phase
- java.lang.Object
-
- org.opennms.core.tasks.AbstractTask
-
- org.opennms.core.tasks.ContainerTask<BatchTask>
-
- org.opennms.core.tasks.BatchTask
-
- org.opennms.netmgt.provision.service.lifecycle.Phase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Phase.PhaseMethod
-
Nested classes/interfaces inherited from interface org.opennms.core.tasks.Task
Task.State
-
-
Field Summary
-
Fields inherited from class org.opennms.core.tasks.ContainerTask
m_triggerTask
-
-
Constructor Summary
Constructors Constructor Description Phase(ContainerTask<?> parent, LifeCycleInstance lifecycle, String name, Object[] providers)
Constructor for Phase.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPhaseMethods()
addPhaseMethodsvoid
addPhaseMethods(Object provider)
addPhaseMethodsLifeCycleInstance
createNestedLifeCycle(String lifeCycleName)
createNestedLifeCycleLifeCycleInstance
getLifeCycleInstance()
getLifeCycleInstanceString
getName()
getNameString
toString()
toString-
Methods inherited from class org.opennms.core.tasks.ContainerTask
add, add, add, add, add, addChildDependencies, addPrerequisite, completeSubmit, getBuilder, getTriggerTask, preSchedule
-
Methods inherited from class org.opennms.core.tasks.AbstractTask
addDependent, doSubmit, getCoordinator, getMonitor, isScheduled, postSchedule, schedule, waitFor, waitFor
-
-
-
-
Constructor Detail
-
Phase
public Phase(ContainerTask<?> parent, LifeCycleInstance lifecycle, String name, Object[] providers)
Constructor for Phase.
- Parameters:
parent
- aContainerTask
object.lifecycle
- aLifeCycleInstance
object.name
- aString
object.providers
- an array ofObject
objects.
-
-
Method Detail
-
getLifeCycleInstance
public LifeCycleInstance getLifeCycleInstance()
getLifeCycleInstance
- Returns:
- a
LifeCycleInstance
object.
-
createNestedLifeCycle
public LifeCycleInstance createNestedLifeCycle(String lifeCycleName)
createNestedLifeCycle
- Parameters:
lifeCycleName
- aString
object.- Returns:
- a
LifeCycleInstance
object.
-
addPhaseMethods
public void addPhaseMethods()
addPhaseMethods
-
addPhaseMethods
public void addPhaseMethods(Object provider)
addPhaseMethods
- Parameters:
provider
- aObject
object.
-
-