abstract class SimpleAuthEnum[T, Repr] extends AnyRef
Dead simple typed enum with explicitly handled enumeration error It also provides an implicit decoder/encoder for serialization into json.
- T
the abstract type to enumerate, subclass style
- Repr
the representation type (i.e., string, int, double, ...)
- Source
- SimpleAuthEnum.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SimpleAuthEnum
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SimpleAuthEnum()(implicit arg0: Decoder[Repr], arg1: Encoder[Repr], arg2: ClassTag[Repr], arg3: Eq[Repr])
Abstract Value Members
Concrete 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
- implicit val authEnum: SimpleAuthEnum[T, Repr]
- lazy val cachedDecodingFailure: DecodingFailure
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
contains(elem: T): Boolean
- Annotations
- @inline()
- implicit lazy val decoder: Decoder[T]
- implicit lazy val encoder: Encoder[T]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def fromRepr(r: Repr): Either[InvalidAuthorization, T]
- def fromReprF[F[_]](r: Repr)(implicit F: MonadError[F, Throwable]): F[T]
-
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
-
def
ixFromRepr(r: Repr): Int
- Annotations
- @inline()
-
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 toList: List[T]
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def unsafeFromRepr(r: Repr): T
- def viewAll(implicit classTag: ClassTag[T]): AuthGroup[T]
-
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
- @native() @throws( ... )