Class ReleaseVariableReplacedEvent
java.lang.Object
com.xebialabs.xlrelease.domain.events.ReleaseVariableReplacedEvent
- All Implemented Interfaces:
ReleaseVariableEvent
,VariableEvent
,XLReleaseEvent
,Serializable
,scala.Equals
,scala.Product
public class ReleaseVariableReplacedEvent
extends Object
implements ReleaseVariableEvent, scala.Product, Serializable
Event published when a variable has been replaced by another variable or a value. The first case is effectively
a rename of a variable, and the second is effectively a delete of variable's usages. If a variable is being deleted
then this event will precede the
ReleaseVariableDeletedEvent
.
param: variable a copy of the original variable. param: replacement the replacement of the variable: it contains either a new variable name or a value with which it was replaced.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReleaseVariableReplacedEvent
(Variable variable, VariableOrValue replacement) -
Method Summary
Modifier and TypeMethodDescriptionstatic ReleaseVariableReplacedEvent
apply
(Variable variable, VariableOrValue replacement) boolean
copy
(Variable variable, VariableOrValue replacement) boolean
int
hashCode()
int
productElement
(int x$1) productElementName
(int x$1) scala.collection.Iterator<Object>
toString()
static scala.Option<scala.Tuple2<Variable,
VariableOrValue>> username()
void
username_$eq
(String x$1) variable()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface scala.Product
productElementNames
Methods inherited from interface com.xebialabs.xlrelease.domain.events.XLReleaseEvent
timeMs, timestamp
-
Constructor Details
-
ReleaseVariableReplacedEvent
-
-
Method Details
-
apply
-
unapply
public static scala.Option<scala.Tuple2<Variable,VariableOrValue>> unapply(ReleaseVariableReplacedEvent x$0) -
username
- Specified by:
username
in interfaceXLReleaseEvent
-
username_$eq
- Specified by:
username_$eq
in interfaceXLReleaseEvent
-
variable
-
replacement
-
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
-