Enum Class AdoptDirectoryLayoutGuard

java.lang.Object
java.lang.Enum<AdoptDirectoryLayoutGuard>
org.odpi.openmetadata.adapters.connectors.surveyaction.controls.AdoptDirectoryLayoutGuard
All Implemented Interfaces:
Serializable, Comparable<AdoptDirectoryLayoutGuard>, Constable

public enum AdoptDirectoryLayoutGuard extends Enum<AdoptDirectoryLayoutGuard>
AdoptDirectoryLayoutGuard describes the guards produced by the Adopt Directory Layout governance action service.
  • Enum Constant Details

    • LAYOUT_ADOPTED

      public static final AdoptDirectoryLayoutGuard LAYOUT_ADOPTED
      The layout is now the layout standard for the directory.
    • NO_PROPOSED_LAYOUT

      public static final AdoptDirectoryLayoutGuard NO_PROPOSED_LAYOUT
      No layout has been proposed for the directory.
    • LAYOUT_ALREADY_DEFINED

      public static final AdoptDirectoryLayoutGuard LAYOUT_ALREADY_DEFINED
      The directory already has a layout standard.
    • HOMOGENEITY_TOO_LOW

      public static final AdoptDirectoryLayoutGuard HOMOGENEITY_TOO_LOW
      Too few of the sibling directories share the proposed layout.
    • INVALID_REQUEST_PARAMETER

      public static final AdoptDirectoryLayoutGuard INVALID_REQUEST_PARAMETER
      One of the request parameters is not valid.
    • INVALID_ACTION_TARGET_TYPE

      public static final AdoptDirectoryLayoutGuard INVALID_ACTION_TARGET_TYPE
      The action target is not a directory or a proposed layout.
    • NO_TARGETS

      public static final AdoptDirectoryLayoutGuard NO_TARGETS
      No action targets were supplied.
  • Field Details

    • name

      public final String name
    • completionStatus

      public final CompletionStatus completionStatus
    • description

      public final String description
  • Method Details

    • values

      public static AdoptDirectoryLayoutGuard[] 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 AdoptDirectoryLayoutGuard 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
    • getName

      public String getName()
      Return the name of the guard.
      Returns:
      string name
    • getCompletionStatus

      public CompletionStatus getCompletionStatus()
      Return the typical completion status used with this guard.
      Returns:
      completion status
    • getDescription

      public String getDescription()
      Return the description of the guard.
      Returns:
      text
    • getGuardTypes

      public static List<GuardType> getGuardTypes()
      Return details of all the guards.
      Returns:
      guard types
    • getGuardType

      public GuardType getGuardType()
      Return details of a specific guard.
      Returns:
      guard type
    • toString

      public String toString()
      Output of this enum class and main value.
      Overrides:
      toString in class Enum<AdoptDirectoryLayoutGuard>
      Returns:
      string showing enum value