Enum Class PostgresActionTarget
java.lang.Object
java.lang.Enum<PostgresActionTarget>
org.odpi.openmetadata.adapters.connectors.postgres.survey.PostgresActionTarget
- All Implemented Interfaces:
Serializable
,Comparable<PostgresActionTarget>
,Constable
PostgresActionTarget provides the standard action type names to use with the postgres database server survey.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn an action target type for use in the governance service's provider.Return the preferred value of the deployed implementation type of the element that is linked to for this type of action target.Return the description of the action target.getName()
Return the name of the action target.static List<ActionTargetType>
Return the action targets defined in this enum for a PostgreSQL database.static List<ActionTargetType>
Return the action targets defined in this enum for a PostgreSQL server.Return the type name of the element that is linked to for this type of action target.toString()
JSON-style toStringstatic PostgresActionTarget
Returns the enum constant of this class with the specified name.static PostgresActionTarget[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DATABASE_SERVER
PostgreSQL Database Server. -
DATABASE
PostgreSQL Database.
-
-
Field Details
-
name
Action target name -
description
Description of the action target. -
typeName
The open metadata type name of the element that can be this type of action target.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getPostgresServerActionTargetTypes
Return the action targets defined in this enum for a PostgreSQL server.- Returns:
- list
-
getPostgresDatabaseActionTargetTypes
Return the action targets defined in this enum for a PostgreSQL database.- Returns:
- list
-
getActionTargetType
Return an action target type for use in the governance service's provider.- Returns:
- action target type
-
getName
Return the name of the action target.- Returns:
- string name
-
getDescription
Return the description of the action target.- Returns:
- string description
-
getTypeName
Return the type name of the element that is linked to for this type of action target.- Returns:
- type name
-
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
JSON-style toString- Overrides:
toString
in classEnum<PostgresActionTarget>
- Returns:
- return string containing the property names and values
-