Enum Class VersionedFlowState

java.lang.Object
java.lang.Enum<VersionedFlowState>
org.apache.nifi.registry.flow.VersionedFlowState
All Implemented Interfaces:
Serializable, Comparable<VersionedFlowState>, Constable

public enum VersionedFlowState extends Enum<VersionedFlowState>
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    This Process Group (or a child/descendant Process Group that is not itself under Version Control) is on the latest version of the Versioned Flow, but is different than the Versioned Flow that is stored in the Flow Registry.
    This Process Group (or a child/descendant Process Group that is not itself under Version Control) has been modified since it was last synchronized with the Flow Registry, and the Flow Registry has a newer version of the flow than what is contained in this Process Group.
    This Process Group has not been modified since it was last synchronized with the Flow Registry, but the Flow Registry has a newer version of the flow than what is contained in this Process Group.
    We are unable to communicate with the Flow Registry in order to determine the appropriate state
    This Process Group and all child/descendant Process Groups are on the latest version of the flow in the Flow Registry and have no local modifications.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final String
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • SYNC_FAILURE

      public static final VersionedFlowState SYNC_FAILURE
      We are unable to communicate with the Flow Registry in order to determine the appropriate state
    • LOCALLY_MODIFIED

      public static final VersionedFlowState LOCALLY_MODIFIED
      This Process Group (or a child/descendant Process Group that is not itself under Version Control) is on the latest version of the Versioned Flow, but is different than the Versioned Flow that is stored in the Flow Registry.
    • STALE

      public static final VersionedFlowState STALE
      This Process Group has not been modified since it was last synchronized with the Flow Registry, but the Flow Registry has a newer version of the flow than what is contained in this Process Group.
    • LOCALLY_MODIFIED_AND_STALE

      public static final VersionedFlowState LOCALLY_MODIFIED_AND_STALE
      This Process Group (or a child/descendant Process Group that is not itself under Version Control) has been modified since it was last synchronized with the Flow Registry, and the Flow Registry has a newer version of the flow than what is contained in this Process Group.
    • UP_TO_DATE

      public static final VersionedFlowState UP_TO_DATE
      This Process Group and all child/descendant Process Groups are on the latest version of the flow in the Flow Registry and have no local modifications.
  • Field Details

    • description

      private final String description
  • Constructor Details

    • VersionedFlowState

      private VersionedFlowState(String description)
  • Method Details

    • values

      public static VersionedFlowState[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static VersionedFlowState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getDescription

      public String getDescription()