Class CommentCreatedEvent
java.lang.Object
com.xebialabs.xlrelease.domain.events.CommentCreatedEvent
- All Implemented Interfaces:
CommentEvent
,XLReleaseEvent
,Serializable
,scala.Equals
,scala.Product
public class CommentCreatedEvent
extends Object
implements CommentEvent, scala.Product, Serializable
Event published when a comment is created on a task.
param: task the task which was commented.
param: comment the comment instance.
param: author username of the author of the comment.
param: createdByUser flag to differentiate if the comment was created by user or by any script task
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCommentCreatedEvent
(Task task, Comment comment, String author, boolean createdByUser) -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static CommentCreatedEvent
static boolean
author()
boolean
comment()
boolean
boolean
boolean
int
hashCode()
int
productElement
(int x$1) productElementName
(int x$1) scala.collection.Iterator<Object>
task()
toString()
username()
void
username_$eq
(String x$1) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
CommentCreatedEvent
-
-
Method Details
-
$lessinit$greater$default$4
public static boolean $lessinit$greater$default$4() -
apply
public static CommentCreatedEvent apply(Task task, Comment comment, String author, boolean createdByUser) -
apply$default$4
public static boolean apply$default$4() -
unapply
public static scala.Option<scala.Tuple4<Task,Comment, unapplyString, Object>> (CommentCreatedEvent x$0) -
username
- Specified by:
username
in interfaceXLReleaseEvent
-
username_$eq
- Specified by:
username_$eq
in interfaceXLReleaseEvent
-
timestamp
- Specified by:
timestamp
in interfaceXLReleaseEvent
-
task
-
comment
-
author
-
createdByUser
public boolean createdByUser() -
copy
-
copy$default$1
-
copy$default$2
-
copy$default$3
-
copy$default$4
public boolean copy$default$4() -
productPrefix
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArity
in interfacescala.Product
-
productElement
- Specified by:
productElement
in interfacescala.Product
-
productIterator
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-