Enum LocalRepositoryMode
- java.lang.Object
-
- java.lang.Enum<LocalRepositoryMode>
-
- org.odpi.openmetadata.adminservices.configuration.properties.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.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description METADATA_CACHE
NO_REPOSITORY
OPEN_METADATA_NATIVE
PLUGIN_REPOSITORY
REPOSITORY_PROXY
UNCLASSIFIED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Return the description of this enum value.java.lang.String
getName()
Return the name of this enum value.int
getOrdinal()
Return the code number of this enum value.java.lang.String
toString()
Standard toString method.static LocalRepositoryMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LocalRepositoryMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNCLASSIFIED
public static final LocalRepositoryMode UNCLASSIFIED
-
NO_REPOSITORY
public static final LocalRepositoryMode NO_REPOSITORY
-
METADATA_CACHE
public static final LocalRepositoryMode METADATA_CACHE
-
REPOSITORY_PROXY
public static final LocalRepositoryMode REPOSITORY_PROXY
-
OPEN_METADATA_NATIVE
public static final LocalRepositoryMode OPEN_METADATA_NATIVE
-
PLUGIN_REPOSITORY
public static final LocalRepositoryMode PLUGIN_REPOSITORY
-
-
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 namejava.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 classjava.lang.Enum<LocalRepositoryMode>
- Returns:
- print out of variables in a JSON-style
-
-