class EnumCoproductHint[A] extends CoproductHint[A]
Hint applicable to sealed families of case objects where objects are written and read as strings with their type names. Trying to read or write values that are not case objects results in failure.
- A
the type of the coproduct or sealed family for which this hint applies
- Annotations
- @deprecated
- Deprecated
(Since version 0.11.0) Use
pureconfig.generic.semiauto.deriveEnumerationReader[A]
,pureconfig.generic.semiauto.deriveEnumerationWriter[A]
andpureconfig.generic.semiauto.deriveEnumerationConvert[A]
instead
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EnumCoproductHint
- CoproductHint
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new EnumCoproductHint()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fieldValue(name: String): String
Returns the field value for a class or coproduct option name.
Returns the field value for a class or coproduct option name.
- name
the name of the class or coproduct option
- returns
the field value associated with the given class or coproduct option name.
- Attributes
- protected
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
from(cursor: ConfigCursor, options: Seq[String]): Result[Action]
- Definition Classes
- EnumCoproductHint → CoproductHint
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
to(value: ConfigValue, name: String): ConfigValue
- Definition Classes
- EnumCoproductHint → CoproductHint
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()