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, java.lang.String name, java.lang.Object[] providers)
Constructor for Phase.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPhaseMethods()
addPhaseMethodsvoid
addPhaseMethods(java.lang.Object provider)
addPhaseMethodsLifeCycleInstance
createNestedLifeCycle(java.lang.String lifeCycleName)
createNestedLifeCycleLifeCycleInstance
getLifeCycleInstance()
getLifeCycleInstancejava.lang.String
getName()
getNamejava.lang.String
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, java.lang.String name, java.lang.Object[] providers)
Constructor for Phase.
- Parameters:
parent
- aContainerTask
object.lifecycle
- aLifeCycleInstance
object.name
- aString
object.providers
- an array ofObject
objects.
-
-
Method Detail
-
getName
public java.lang.String getName()
getName
- Returns:
- a
String
object.
-
getLifeCycleInstance
public LifeCycleInstance getLifeCycleInstance()
getLifeCycleInstance
- Returns:
- a
LifeCycleInstance
object.
-
createNestedLifeCycle
public LifeCycleInstance createNestedLifeCycle(java.lang.String lifeCycleName)
createNestedLifeCycle
- Parameters:
lifeCycleName
- aString
object.- Returns:
- a
LifeCycleInstance
object.
-
addPhaseMethods
public void addPhaseMethods()
addPhaseMethods
-
addPhaseMethods
public void addPhaseMethods(java.lang.Object provider)
addPhaseMethods
- Parameters:
provider
- aObject
object.
-
-