Class AttachmentCreatedEvent
java.lang.Object
com.xebialabs.xlrelease.domain.events.AttachmentCreatedEvent
- All Implemented Interfaces:
AttachmentEvent,XLReleaseEvent,Serializable,scala.Equals,scala.Product
public class AttachmentCreatedEvent
extends Object
implements AttachmentEvent, scala.Product, Serializable
Event published when an attachment is created. Attachments are always added to a release, but task attachments
are also linked to from tasks. Therefore this event also contains the container ID to easily determine if it is
a release or task attachment.
param: containerId the ID of the task or release in which the attachment was created.
param: attachment the created attachment.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AttachmentCreatedEventapply(String containerId, Attachment attachment) booleancopy(String containerId, Attachment attachment) booleaninthashCode()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>toString()static scala.Option<scala.Tuple2<String,Attachment>> username()voidusername_$eq(String x$1) Methods inherited from interface scala.Product
productElementNamesMethods inherited from interface com.xebialabs.xlrelease.domain.events.XLReleaseEvent
timeMs, timestamp
-
Constructor Details
-
AttachmentCreatedEvent
-
-
Method Details
-
apply
-
unapply
-
username
- Specified by:
usernamein interfaceXLReleaseEvent
-
username_$eq
- Specified by:
username_$eqin interfaceXLReleaseEvent
-
containerId
-
attachment
-
copy
-
copy$default$1
-
copy$default$2
-
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
-