trait TaskValuesUtils extends Serializable with WithHelpMethods
TaskValuesUtils provides utilities for working with task values.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TaskValuesUtils
- WithHelpMethods
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def get(taskKey: String, key: String, default: Option[Any], debugValue: Option[Any]): Any
Returns the latest task value that belongs to the current job run.
Returns the latest task value that belongs to the current job run.
- taskKey
the task key of the task value
- key
the key of the task value
- default
the value to return when called inside of a job context if the task value does not exist (must not be None)
- debugValue
the value to return when called outside of a job context (must not be None)
- returns
the task value (if it exists) when called inside of a job context
- abstract def getContext(): CommandContext
- abstract def getJson(taskKey: String, key: String): Seq[String]
- abstract def help(moduleOrMethod: String): Unit
- Definition Classes
- WithHelpMethods
- abstract def help(): Unit
- Definition Classes
- WithHelpMethods
- abstract def set(key: String, value: Any): Unit
Sets a task value on the current task run.
Sets a task value on the current task run. This method is a no-op if used outside of the job context.
- key
the task value's key
- value
the value to be stored (must be JSON-serializable)
- abstract def setContext(context: CommandContext): Unit
- abstract def setJson(key: String, value: String): Unit
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 apply(): TaskValuesUtils.this.type
- Definition Classes
- WithHelpMethods
- 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
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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()
- 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 toString(): String
- Definition Classes
- AnyRef → Any
- 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()