java.lang.Object
java.lang.Enum<RequestType>
org.odpi.openmetadata.frameworks.governanceaction.controls.RequestType
All Implemented Interfaces:
Serializable, Comparable<RequestType>, Constable

public enum RequestType extends Enum<RequestType>
RequestType provides a template for defining the request type for a governance service.
  • Enum Constant Details

  • Field Details

    • requestType

      public final String requestType
    • description

      public final String description
  • Method Details

    • values

      public static RequestType[] 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 RequestType 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
    • getRequestType

      public String getRequestType()
      Return the name of the requestType.
      Returns:
      string name
    • getDescription

      public String getDescription()
      Return the description of the requestType.
      Returns:
      text
    • getRequestTypeTypes

      public static List<RequestTypeType> getRequestTypeTypes()
      Return details of all the defined request types for a governance service.
      Returns:
      list of request type types
    • getRequestTypeType

      public RequestTypeType getRequestTypeType()
      Return the request type packaged for use by the Service Provider.
      Returns:
      requestTypeType
    • toString

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