final case class LifecycleHandler(exec: Option[ExecAction] = None, httpGet: Option[HTTPGetAction] = None, tcpSocket: Option[TCPSocketAction] = None) extends Product with Serializable
LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.
- Source
- LifecycleHandler.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LifecycleHandler
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new LifecycleHandler(exec: Option[ExecAction] = None, httpGet: Option[HTTPGetAction] = None, tcpSocket: Option[TCPSocketAction] = None)
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(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val exec: Option[ExecAction]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val httpGet: Option[HTTPGetAction]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mapExec(f: (ExecAction) => ExecAction): LifecycleHandler
if exec has a value, transforms to the result of function
- def mapHttpGet(f: (HTTPGetAction) => HTTPGetAction): LifecycleHandler
if httpGet has a value, transforms to the result of function
- def mapTcpSocket(f: (TCPSocketAction) => TCPSocketAction): LifecycleHandler
if tcpSocket has a value, transforms to the result of function
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tcpSocket: Option[TCPSocketAction]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withExec(value: ExecAction): LifecycleHandler
Returns a new data with exec set to new value
- def withHttpGet(value: HTTPGetAction): LifecycleHandler
Returns a new data with httpGet set to new value
- def withTcpSocket(value: TCPSocketAction): LifecycleHandler
Returns a new data with tcpSocket set to new value