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

public enum ActionTarget extends Enum<ActionTarget>
ActionTarget provides some standard action type names to use in the implementation of governance services. Using standard action target names helps to simplify the use of the governance services in governance action processes.
  • Enum Constant Details

    • ANY_ELEMENT

      public static final ActionTarget ANY_ELEMENT
      Any type of element.
    • ANY_REFERENCEABLE

      public static final ActionTarget ANY_REFERENCEABLE
      Any element of type Referenceable (or a subtype of).
    • ANY_ASSET

      public static final ActionTarget ANY_ASSET
      Any element of type Referenceable (or a subtype of).
    • NEW_ASSET

      public static final ActionTarget NEW_ASSET
      A newly created Asset (or a subtype of).
    • PROCESS_OWNER

      public static final ActionTarget PROCESS_OWNER
      A person or team who is accountable for the correct operation of a process.
    • DATA_OWNER

      public static final ActionTarget DATA_OWNER
      A person or team who is accountable for the correct management and use of a particular collection of data.
    • DATA_SUBJECT

      public static final ActionTarget DATA_SUBJECT
      A person that is described by some data.
    • CUSTODIAN

      public static final ActionTarget CUSTODIAN
      The person who can be contacted if there are problems with the data from this hospital.
    • STEWARD

      public static final ActionTarget STEWARD
      The person who can be contacted if there are problems with the data from this hospital.
    • INTEGRATION_CONNECTOR

      public static final ActionTarget INTEGRATION_CONNECTOR
      The person who can be contacted if there are problems with the data from this hospital.
  • Field Details

    • name

      public final String name
      Action target name
    • description

      public final String description
      Description of the action target.
    • typeName

      public final String typeName
      The open metadata type name of the element that can be this type of action target.
  • Method Details

    • values

      public static ActionTarget[] 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 ActionTarget 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
    • getActionTargetTypes

      public static List<ActionTargetType> getActionTargetTypes()
      Return all the action targets defined in this enum.
      Returns:
      list
    • getActionTargetType

      public ActionTargetType getActionTargetType()
      Return an action target type for use in the governance action service's provider.
      Returns:
      action target type
    • getName

      public String getName()
      Return the name of the action target.
      Returns:
      string name
    • getDescription

      public String getDescription()
      Return the description of the action target.
      Returns:
      string description
    • getTypeName

      public String getTypeName()
      Return the type name of the element that is linked to for this type of action target.
      Returns:
      type name
    • getDeployedImplementationType

      public String getDeployedImplementationType()
      Return the preferred value of the deployed implementation type of the element that is linked to for this type of action target. This is typically only set for assets.
      Returns:
      preferred value string
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class Enum<ActionTarget>
      Returns:
      return string containing the property names and values