Enum LocalRepositoryMode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<LocalRepositoryMode>

    public enum LocalRepositoryMode
    extends java.lang.Enum<LocalRepositoryMode>
    implements java.io.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.
    • Method Detail

      • values

        public static LocalRepositoryMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (LocalRepositoryMode c : LocalRepositoryMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LocalRepositoryMode valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getOrdinal

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

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

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

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