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 booleanstatic CommentCreatedEventstatic booleanauthor()booleancomment()booleanbooleanbooleaninthashCode()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>task()toString()username()voidusername_$eq(String x$1) 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:
usernamein interfaceXLReleaseEvent
-
username_$eq
- Specified by:
username_$eqin interfaceXLReleaseEvent
-
timestamp
- Specified by:
timestampin 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:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-