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>
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

    • UNCLASSIFIED

      public static final LocalRepositoryMode UNCLASSIFIED
      The mode of the repository is unknown.
    • NO_REPOSITORY

      public static final LocalRepositoryMode NO_REPOSITORY
      The server is running without a local repository.
    • METADATA_CACHE

      public static final LocalRepositoryMode METADATA_CACHE
      This local repository is read only and is able to act as a cache for metadata but not to master new values.
    • REPOSITORY_PROXY

      public static final LocalRepositoryMode REPOSITORY_PROXY
      This local repository is actually a proxy to third party metadata repository. It is restricted to the capability of the third party repository.
    • OPEN_METADATA_NATIVE

      public static final LocalRepositoryMode OPEN_METADATA_NATIVE
      This local repository is a plugin repository that is part of Egeria and has been built specifically for open metadata and as such is able to dynamically absorb new types of metadata.
    • PLUGIN_REPOSITORY

      public static final LocalRepositoryMode PLUGIN_REPOSITORY
      This local repository has been built by a third party as a plugin repository.
  • 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