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()
- Alphabetic
- By Inheritance
- Deliverable
- HasType
- Identifiable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Deliverable(payload: T)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T])
- payload
data that will be transferred
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()
-
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
-
def
deliveryId: String
Return the ID of this delivery
-
def
describe(): Unit
Describe this deliverable
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getCanonicalName: String
- Definition Classes
- Identifiable
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getPayload: T
Get the payload
Get the payload
- Annotations
- @throws( "Thrown when the Payload is null" )
-
def
getUUID: UUID
- Definition Classes
- Identifiable
-
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
-
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
-
def
hasSamePayloadType(deliverable: Deliverable[_]): Boolean
Compare the type of two deliverable
Compare the type of two deliverable
- deliverable
a deliverable object
-
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()
-
def
payloadClass: Class[_]
Get the payload class
-
def
payloadType: scala.reflect.api.JavaUniverse.Type
The Scala runtime type of this deliverable's payload
-
def
producer: Class[_ <: Factory[_]]
Return the producer of this deliverable
-
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
- Deliverable → HasType
-
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
-
def
setConsumer(consumer: Class[_ <: Factory[_]]): Deliverable.this.type
Set consumer to this deliverable
Set consumer to this deliverable
- consumer
class of consumer
-
def
setConsumers(consumer: Seq[Class[_ <: Factory[_]]]): Deliverable.this.type
Set consumers to this deliverable
Set consumers to this deliverable
- consumer
class of consumer
-
def
setDeliveryId(id: String): Deliverable.this.type
Set the delivery ID for this delivery
-
def
setProducer(t: Class[_ <: Factory[_]]): Deliverable.this.type
Set producer of this deliverable
Set producer of this deliverable
- t
class of producer
-
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( ... )
-
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()