Class GlobalVariableUpdatedEvent
java.lang.Object
com.xebialabs.xlrelease.domain.events.GlobalVariableUpdatedEvent
- All Implemented Interfaces:
GlobalVariableEvent,VariableEvent,XLReleaseEvent,Serializable,scala.Equals,scala.Product
public class GlobalVariableUpdatedEvent
extends Object
implements GlobalVariableEvent, scala.Product, Serializable
Event published when a global variable is updated. Currently this event is limited only to situation when the global
variable is updated from a script task in a release, using
globalVariables dictionary.
param: original a copy of the original global variable.
param: updated the updated global variable. As this can only be triggered from a script task, only the variable value can be different.
param: source the way it was updated. Currently only ModifiedFromScriptTask is supported.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGlobalVariableUpdatedEvent(Variable original, Variable updated, VariableModificationSource source) -
Method Summary
Modifier and TypeMethodDescriptionstatic GlobalVariableUpdatedEventapply(Variable original, Variable updated, VariableModificationSource source) booleancopy(Variable original, Variable updated, VariableModificationSource source) booleaninthashCode()original()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object> source()toString()static scala.Option<scala.Tuple3<Variable, Variable, VariableModificationSource>> updated()username()voidusername_$eq(String x$1) Methods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
GlobalVariableUpdatedEvent
public GlobalVariableUpdatedEvent(Variable original, Variable updated, VariableModificationSource source)
-
-
Method Details
-
apply
public static GlobalVariableUpdatedEvent apply(Variable original, Variable updated, VariableModificationSource source) -
unapply
public static scala.Option<scala.Tuple3<Variable,Variable, unapplyVariableModificationSource>> (GlobalVariableUpdatedEvent x$0) -
username
- Specified by:
usernamein interfaceXLReleaseEvent
-
username_$eq
- Specified by:
username_$eqin interfaceXLReleaseEvent
-
timestamp
- Specified by:
timestampin interfaceXLReleaseEvent
-
original
-
updated
-
source
-
copy
public GlobalVariableUpdatedEvent copy(Variable original, Variable updated, VariableModificationSource source) -
copy$default$1
-
copy$default$2
-
copy$default$3
-
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
-