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 ReleaseVariableReplacedEventapply(Variable variable, VariableOrValue replacement) booleancopy(Variable variable, VariableOrValue replacement) booleaninthashCode()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object> toString()static scala.Option<scala.Tuple2<Variable, VariableOrValue>> username()voidusername_$eq(String x$1) variable()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
ReleaseVariableReplacedEvent
-
-
Method Details
-
apply
-
unapply
public static scala.Option<scala.Tuple2<Variable,VariableOrValue>> unapply(ReleaseVariableReplacedEvent x$0) -
username
- Specified by:
usernamein interfaceXLReleaseEvent
-
username_$eq
- Specified by:
username_$eqin interfaceXLReleaseEvent
-
timestamp
- Specified by:
timestampin interfaceXLReleaseEvent
-
variable
-
replacement
-
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
-