Class HibernateSupport
java.lang.Object
com.azure.core.util.ExpandableStringEnum<HibernateSupport>
com.azure.developer.devcenter.models.HibernateSupport
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class HibernateSupport
extends com.azure.core.util.ExpandableStringEnum<HibernateSupport>
Indicates whether hibernate is supported and enabled, disabled, or unsupported by the operating system. Unknown
hibernate support is represented as null.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HibernateSupport
Hibernate is not enabled.static final HibernateSupport
Hibernate is enabled.static final HibernateSupport
Hibernate is not supported by the operating system. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HibernateSupport
fromString
(String name) Creates or finds a HibernateSupport from its string representation.static Collection
<HibernateSupport> values()
Gets known HibernateSupport values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ENABLED
Hibernate is enabled. -
DISABLED
Hibernate is not enabled. -
OS_UNSUPPORTED
Hibernate is not supported by the operating system.
-
-
Constructor Details
-
HibernateSupport
Deprecated.Use thefromString(String)
factory method.Creates a new instance of HibernateSupport value.
-
-
Method Details
-
fromString
Creates or finds a HibernateSupport from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding HibernateSupport.
-
values
Gets known HibernateSupport values.- Returns:
- known HibernateSupport values.
-
fromString(String)
factory method.