Interface LifeCycleInstance


  • public interface LifeCycleInstance
    LifeCycle
    Version:
    $Id: $
    Author:
    brozow
    • Method Detail

      • getPhaseNames

        java.util.List<java.lang.String> getPhaseNames()

        getPhaseNames

        Returns:
        a List object.
      • getName

        java.lang.String getName()

        getName

        Returns:
        a String object.
      • setAttribute

        LifeCycleInstance setAttribute​(java.lang.String key,
                                       java.lang.Object value)

        setAttribute

        Parameters:
        key - a String object.
        value - a Object object.
        Returns:
        a LifeCycleInstance object.
      • getAttribute

        java.lang.Object getAttribute​(java.lang.String key)

        getAttribute

        Parameters:
        key - a String object.
        Returns:
        a Object object.
      • findAttributeByType

        <T> T findAttributeByType​(java.lang.Class<T> clazz)

        findAttributeByType

        Type Parameters:
        T - a T object.
        Parameters:
        clazz - a Class object.
        Returns:
        a T object.
      • getAttribute

        <T> T getAttribute​(java.lang.String key,
                           java.lang.Class<T> type)

        getAttribute

        Type Parameters:
        T - a T object.
        Parameters:
        key - a String object.
        type - a Class object.
        Returns:
        a T object.
      • getAttribute

        <T> T getAttribute​(java.lang.String key,
                           T defaultValue)

        getAttribute

        Type Parameters:
        T - a T object.
        Parameters:
        key - a String object.
        defaultValue - a T object.
        Returns:
        a T object.
      • createNestedLifeCycle

        LifeCycleInstance createNestedLifeCycle​(BatchTask currentPhase,
                                                java.lang.String lifeCycleName)

        createNestedLifeCycle

        Parameters:
        currentPhase - a BatchTask object.
        lifeCycleName - a String object.
        Returns:
        a LifeCycleInstance object.
      • trigger

        void trigger()

        trigger

      • waitFor

        void waitFor()
              throws java.lang.InterruptedException,
                     java.util.concurrent.ExecutionException

        waitFor

        Throws:
        java.lang.InterruptedException - if any.
        java.util.concurrent.ExecutionException - if any.