com
.
qmetric
.
penfold
.
domain
.
model
Task
Related Docs:
object Task
|
package model
case class
Task
(
uncommittedEvents:
List
[
Event
]
,
aggregateId:
AggregateId
,
version:
AggregateVersion
,
created:
DateTime
,
assignee:
Option
[
User
]
,
queue:
QueueId
,
status:
Status
,
triggerDate:
DateTime
,
payload:
Payload
,
score:
Long
)
extends
AggregateRoot
with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AggregateRoot
,
EventSourced
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
Task
Serializable
Serializable
Product
Equals
AggregateRoot
EventSourced
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
Task
(
uncommittedEvents:
List
[
Event
]
,
aggregateId:
AggregateId
,
version:
AggregateVersion
,
created:
DateTime
,
assignee:
Option
[
User
]
,
queue:
QueueId
,
status:
Status
,
triggerDate:
DateTime
,
payload:
Payload
,
score:
Long
)
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
val
aggregateId
:
AggregateId
Definition Classes
Task
→
AggregateRoot
def
aggregateType
:
AggregateType.Task
.type
Definition Classes
Task
→
AggregateRoot
def
applyEvent
: (
Event
) ⇒
EventSourced
Definition Classes
Task
→
EventSourced
def
archive
(
expectedVersion:
AggregateVersion
)
:
Task
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
val
assignee
:
Option
[
User
]
def
cancel
(
expectedVersion:
AggregateVersion
,
user:
Option
[
User
]
,
reason:
Option
[
String
]
,
payloadUpdate:
Option
[
Patch
]
)
:
Task
def
checkConflict
(
requirement:
Boolean
,
message: ⇒
Any
)
:
Unit
Definition Classes
AggregateRoot
def
checkVersion
(
expectedVersion:
AggregateVersion
)
:
Unit
Definition Classes
AggregateRoot
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
close
(
expectedVersion:
AggregateVersion
,
user:
Option
[
User
]
,
reason:
Option
[
String
]
,
resultType:
Option
[
CloseResultType
]
,
payloadUpdate:
Option
[
Patch
]
)
:
Task
val
created
:
DateTime
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
markCommitted
:
Task
Definition Classes
Task
→
AggregateRoot
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
payload
:
Payload
val
queue
:
QueueId
def
requeue
(
expectedVersion:
AggregateVersion
,
reason:
Option
[
String
]
,
assignee:
Option
[
User
]
,
payloadUpdate:
Option
[
Patch
]
,
score:
Option
[
Long
]
)
:
Task
def
reschedule
(
expectedVersion:
AggregateVersion
,
triggerDate:
DateTime
,
assignee:
Option
[
User
]
,
reason:
Option
[
String
]
,
payloadUpdate:
Option
[
Patch
]
,
score:
Option
[
Long
]
)
:
Task
val
score
:
Long
def
start
(
expectedVersion:
AggregateVersion
,
assignee:
Option
[
User
]
,
payloadUpdate:
Option
[
Patch
]
)
:
Task
val
status
:
Status
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
trigger
(
expectedVersion:
AggregateVersion
)
:
Task
val
triggerDate
:
DateTime
def
unassign
(
expectedVersion:
AggregateVersion
,
reason:
Option
[
String
]
,
payloadUpdate:
Option
[
Patch
]
)
:
Task
val
uncommittedEvents
:
List
[
Event
]
Definition Classes
Task
→
AggregateRoot
def
unhandled
(
event:
Event
)
:
Nothing
Definition Classes
EventSourced
def
updatePayload
(
expectedVersion:
AggregateVersion
,
payloadUpdate:
Patch
,
updateType:
Option
[
String
]
,
score:
Option
[
Long
]
)
:
Task
val
version
:
AggregateVersion
Definition Classes
Task
→
AggregateRoot
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
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AggregateRoot
Inherited from
EventSourced
Inherited from
AnyRef
Inherited from
Any
Ungrouped