Enum Class CocoRequestTypeDefinition

java.lang.Object
java.lang.Enum<CocoRequestTypeDefinition>
org.odpi.openmetadata.samples.archiveutilities.governanceengines.CocoRequestTypeDefinition
All Implemented Interfaces:
Serializable, Comparable<CocoRequestTypeDefinition>, Constable

public enum CocoRequestTypeDefinition extends Enum<CocoRequestTypeDefinition>
Defines the request types for the governance engines that identify which governance service to call for a specific request type.
  • Enum Constant Details

  • Method Details

    • values

      public static CocoRequestTypeDefinition[] 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 CocoRequestTypeDefinition 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
    • getGovernanceRequestType

      public String getGovernanceRequestType()
      Return the Request Type.
      Returns:
      string
    • getServiceRequestType

      public String getServiceRequestType()
      Return the service request type to map to.
      Returns:
      string
    • getRequestParameters

      public Map<String,String> getRequestParameters()
      Return the request parameters (if needed).
      Returns:
      map or null
    • getActionTargets

      public List<org.odpi.openmetadata.frameworks.governanceaction.properties.NewActionTarget> getActionTargets()
      Return predefined action targets used by this service. They are attached to the governance action type.
      Returns:
      list
    • getGovernanceEngine

      public CocoGovernanceEngineDefinition getGovernanceEngine()
      Return the governance engine where this request type belongs to.
      Returns:
      governance engine definition enum
    • getGovernanceService

      public CocoGovernanceServiceDefinition getGovernanceService()
      Return the governance service that this request type maps to,
      Returns:
      governance service definition enum
    • getGovernanceActionTypeGUID

      public String getGovernanceActionTypeGUID()
      Return the unique identifier of the governance action type.
      Returns:
      string
    • getSupportedElementQualifiedName

      public String getSupportedElementQualifiedName()
      Return the element that is supported by this request.
      Returns:
      qualified name string
    • toString

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