Class ReleaseCreatedEvent
java.lang.Object
com.xebialabs.xlrelease.domain.events.ReleaseCreatedEvent
- All Implemented Interfaces:
ReleaseEvent
,XLReleaseEvent
,Serializable
,scala.Equals
,scala.Product
public class ReleaseCreatedEvent
extends Object
implements ReleaseEvent, scala.Product, Serializable
Event published when a release or a template has been created.
param: release the created release or template. You can detect if it is a release or a template from its status.
param: source the way the release was created: one of
Imported
, CreatedFromDsl
, CreatedWithoutTemplate
, CreatedFromTemplate
or CreatedFromCreateReleaseTask
.
If this is null
then the release was created from UI or API from scratch.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ReleaseCreatedEvent
apply
(Release release, ReleaseCreationSource source) boolean
copy
(Release release, ReleaseCreationSource source) boolean
int
hashCode()
int
productElement
(int x$1) productElementName
(int x$1) scala.collection.Iterator<Object>
release()
source()
toString()
static scala.Option<scala.Tuple2<Release,
ReleaseCreationSource>> 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
-
ReleaseCreatedEvent
-
-
Method Details
-
apply
-
unapply
public static scala.Option<scala.Tuple2<Release,ReleaseCreationSource>> unapply(ReleaseCreatedEvent x$0) -
username
- Specified by:
username
in interfaceXLReleaseEvent
-
username_$eq
- Specified by:
username_$eq
in interfaceXLReleaseEvent
-
timestamp
- Specified by:
timestamp
in interfaceXLReleaseEvent
-
release
-
source
-
copy
-
copy$default$1
-
copy$default$2
-
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
-