Packages

class Deliverable[T] extends Identifiable with HasType

A deliverable is a container of an object that will be transferred by a io.github.setl.workflow.DeliverableDispatcher.

T

type of the payload

Annotations
@Evolving()
Linear Supertypes
HasType, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Deliverable
  2. HasType
  3. Identifiable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Deliverable(payload: T)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T])

    payload

    data that will be transferred

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def consumer: List[Class[_ <: Factory[_]]]

    Class of the consumer of this deliverable.

    Class of the consumer of this deliverable. When DispatchManager finds multiple deliverable with the same type, it will select the correct deliverable by looking at the consumer

  7. def deliveryId: String

    Return the ID of this delivery

  8. def describe(): Unit

    Describe this deliverable

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def getCanonicalName: String
    Definition Classes
    Identifiable
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getPayload: T

    Get the payload

    Get the payload

    Annotations
    @throws( "Thrown when the Payload is null" )
  15. def getUUID: UUID
    Definition Classes
    Identifiable
  16. def hasSamePayloadType(deliverableType: String): Boolean

    Compare the type of two deliverable

    Compare the type of two deliverable

    deliverableType

    the string of the payload type of the deliverable to be compared

  17. def hasSamePayloadType(deliverable: scala.reflect.api.JavaUniverse.Type): Boolean

    Compare the type of two deliverable

    Compare the type of two deliverable

    deliverable

    the payload type of the deliverable to be compared

  18. def hasSamePayloadType(deliverable: Deliverable[_]): Boolean

    Compare the type of two deliverable

    Compare the type of two deliverable

    deliverable

    a deliverable object

  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def payloadClass: Class[_]

    Get the payload class

  25. def payloadType: scala.reflect.api.JavaUniverse.Type

    The Scala runtime type of this deliverable's payload

  26. def producer: Class[_ <: Factory[_]]

    Return the producer of this deliverable

  27. val runtimeType: scala.reflect.api.JavaUniverse.Type

    The Scala runtime type of this deliverable's payload

    The Scala runtime type of this deliverable's payload

    Definition Classes
    DeliverableHasType
  28. def sameDeliveryAs(deliverable: Deliverable[_]): Boolean

    Return true if:

    Return true if:

    • This deliverable has the same payload type as the other deliverable
    • Both of them have one or more same consumers
    • Both of them have the same producer
  29. def setConsumer(consumer: Class[_ <: Factory[_]]): Deliverable.this.type

    Set consumer to this deliverable

    Set consumer to this deliverable

    consumer

    class of consumer

  30. def setConsumers(consumer: Seq[Class[_ <: Factory[_]]]): Deliverable.this.type

    Set consumers to this deliverable

    Set consumers to this deliverable

    consumer

    class of consumer

  31. def setDeliveryId(id: String): Deliverable.this.type

    Set the delivery ID for this delivery

  32. def setProducer(t: Class[_ <: Factory[_]]): Deliverable.this.type

    Set producer of this deliverable

    Set producer of this deliverable

    t

    class of producer

  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from HasType

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

Ungrouped