Enum Class LocalRepositoryMode
java.lang.Object
java.lang.Enum<LocalRepositoryMode>
org.odpi.openmetadata.adminservices.configuration.properties.LocalRepositoryMode
- All Implemented Interfaces:
Serializable
,Comparable<LocalRepositoryMode>
,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThis local repository is read only and is able to act as a cache for metadata but not to master new values.The server is running without a local repository.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.This local repository has been built by a third party as a plugin repository.This local repository is actually a proxy to third party metadata repository.The mode of the repository is unknown. -
Method Summary
Modifier and TypeMethodDescriptionReturn the description of this enum value.getName()
Return the name of this enum value.int
Return the code number of this enum value.toString()
Standard toString method.static LocalRepositoryMode
Returns the enum constant of this class with the specified name.static LocalRepositoryMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNCLASSIFIED
The mode of the repository is unknown. -
NO_REPOSITORY
The server is running without a local repository. -
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
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
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
This local repository has been built by a third party as a plugin repository.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getOrdinal
public int getOrdinal()Return the code number of this enum value.- Returns:
- int code number
-
getName
Return the name of this enum value.- Returns:
- String name
-
getDescription
Return the description of this enum value.- Returns:
- String description
-
toString
Standard toString method.- Overrides:
toString
in classEnum<LocalRepositoryMode>
- Returns:
- print out of variables in a JSON-style
-