Enum Class LocalRepositoryMode

java.lang.Object
java.lang.Enum<LocalRepositoryMode>
org.odpi.openmetadata.adminservices.configuration.properties.LocalRepositoryMode
All Implemented Interfaces:
Serializable, Comparable<LocalRepositoryMode>, Constable

public enum LocalRepositoryMode extends Enum<LocalRepositoryMode> implements Serializable
LocalRepositoryMode classifies the capability of the server's local repository. This value will influence the server type classification. It is also useful documentation for an administrator to understand the expected capability that each repository is able to perform.
  • UNCLASSIFIED means that the mode of the repository is not known.
  • NO_REPOSITORY means that the server is running without a local repository.
  • METADATA_CACHE means that it is able to act as a cache for metadata but not to master new values. It is typically used as a metadata access point where Open Metadata Archives are introduced onto a cohort. These provide standard metadata definitions to the cohort(s).
  • REPOSITORY_PROXY means this local repository is actually a proxy to third party metadata repository. It is restricted to the capability of the third party repository.
  • PLUGIN_REPOSITORY means the repository is able to support the open metadata types and instances natively. This type of repository has been built specifically for open metadata and as such is able to absorb new types of metadata. At least one of these types of repository should be operating in a cohort if the access services are enabled.
  • Enum Constant Details

  • Method Details

    • values

      public static LocalRepositoryMode[] 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 LocalRepositoryMode 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
    • getOrdinal

      public int getOrdinal()
      Return the code number of this enum value.
      Returns:
      int code number
    • getName

      public String getName()
      Return the name of this enum value.
      Returns:
      String name
    • getDescription

      public String getDescription()
      Return the description of this enum value.
      Returns:
      String description
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Enum<LocalRepositoryMode>
      Returns:
      print out of variables in a JSON-style