Enum Class UnityCatalogTemplateType
java.lang.Object
java.lang.Enum<UnityCatalogTemplateType>
org.odpi.openmetadata.adapters.connectors.unitycatalog.controls.UnityCatalogTemplateType
- All Implemented Interfaces:
Serializable
,Comparable<UnityCatalogTemplateType>
,Constable
TemplateTypeEnum characterises the type of templates supported by an integration connector. It should be copied
by developers of an integration connector to help populate the supportedTemplates property of its provider.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionReturn the unique identifier of the default template to use with this connector - this is optional.static List<TemplateType>
Return all the template types defined by this enum.Return a map of property name to property value that the catalog template should have to be valid for this integration connector.boolean
Return whether this catalog template is required for this service to work successful.Return the description of the template, such as its content.Return the name of the template.Return the catalog template type for a specific catalog template enum.static List<TemplateType>
Return all the template types defined by this enum.Return the open metadata type name.toString()
JSON-style toStringstatic UnityCatalogTemplateType
Returns the enum constant of this class with the specified name.static UnityCatalogTemplateType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UC_SERVER_TEMPLATE
-
UC_CATALOG_TEMPLATE
-
UC_SCHEMA_TEMPLATE
-
UC_VOLUME_TEMPLATE
-
UC_TABLE_TEMPLATE
-
UC_FUNCTION_TEMPLATE
-
-
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
-
getTemplateName
Return the name of the template.- Returns:
- name
-
getTemplateDescription
Return the description of the template, such as its content.- Returns:
- description
-
getTypeName
Return the open metadata type name.- Returns:
- open metadata type name
-
getRequired
public boolean getRequired()Return whether this catalog template is required for this service to work successful.- Returns:
- boolean flag
-
getDefaultTemplateGUID
Return the unique identifier of the default template to use with this connector - this is optional.- Returns:
- string
-
getOtherPropertyValues
Return a map of property name to property value that the catalog template should have to be valid for this integration connector.- Returns:
- map of string to string
-
getTemplateTypes
Return all the template types defined by this enum.- Returns:
- list of catalog template type
-
getInsideCatalogTemplateTypes
Return all the template types defined by this enum.- Returns:
- list of catalog template type
-
getTemplateType
Return the catalog template type for a specific catalog template enum.- Returns:
- catalog template type
-
toString
JSON-style toString- Overrides:
toString
in classEnum<UnityCatalogTemplateType>
- Returns:
- return string containing the property names and values
-