Enum Class SimonConfigurationProperty

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

public enum SimonConfigurationProperty extends Enum<SimonConfigurationProperty>
SimonConfigurationProperty provides definitions for the configuration properties used with the Simon Contribution Recorder.
  • Enum Constant Details

    • IGNORED_USER_ID_PATTERNS

      public static final SimonConfigurationProperty IGNORED_USER_ID_PATTERNS
      The patterns that match the userIds that are not awarded karma points.
  • Field Details

    • name

      public final String name
    • description

      public final String description
    • dataType

      public final String dataType
    • example

      public final String example
    • isPlaceholder

      public final boolean isPlaceholder
    • DEFAULT_IGNORED_USER_ID_PATTERNS

      public static final List<String> DEFAULT_IGNORED_USER_ID_PATTERNS
      The patterns set up by the core content pack: the non-personal accounts of the OMAG servers and integration connectors (ending in npa) and the governance engines (ending in engine). These are the same as Pepys's.
  • Method Details

    • values

      public static SimonConfigurationProperty[] 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 SimonConfigurationProperty 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 configuration property.
      Returns:
      string name
    • getDescription

      public String getDescription()
      Return the description of the configuration property.
      Returns:
      string description
    • getDataType

      public String getDataType()
      Return the data type for the configuration property.
      Returns:
      string data type name
    • getExample

      public String getExample()
      Return an example of the configuration property to help users understand how to set it up.
      Returns:
      string example
    • isPlaceholder

      public boolean isPlaceholder()
      Return whether this value is also used as a placeholder property.
      Returns:
      boolean
    • getConfigurationPropertyTypes

      public static List<ConfigurationPropertyType> getConfigurationPropertyTypes()
      Retrieve the defined configuration properties as a list of the type used in the connector's specification.
      Returns:
      list
    • getConfigurationPropertyType

      public ConfigurationPropertyType getConfigurationPropertyType()
      Return a summary of this enum to use in the connector's specification.
      Returns:
      configuration property type
    • toString

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