Class GlobalVariableUpdatedEvent
- java.lang.Object
-
- com.xebialabs.xlrelease.domain.events.GlobalVariableUpdatedEvent
-
- All Implemented Interfaces:
GlobalVariableEvent,VariableEvent,XLReleaseEvent,java.io.Serializable,scala.Equals,scala.Product
public class GlobalVariableUpdatedEvent extends java.lang.Object implements GlobalVariableEvent, scala.Product, java.io.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, usingglobalVariablesdictionary.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
ModifiedFromScriptTaskis supported.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GlobalVariableUpdatedEvent(Variable original, Variable updated, VariableModificationSource source)
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.xebialabs.xlrelease.domain.events.XLReleaseEvent
timeMs, timestamp
-
-
-
-
Constructor Detail
-
GlobalVariableUpdatedEvent
public GlobalVariableUpdatedEvent(Variable original, Variable updated, VariableModificationSource source)
-
-
Method Detail
-
apply
public static GlobalVariableUpdatedEvent apply(Variable original, Variable updated, VariableModificationSource source)
-
unapply
public static scala.Option<scala.Tuple3<Variable,Variable,VariableModificationSource>> unapply(GlobalVariableUpdatedEvent x$0)
-
username
public java.lang.String username()
- Specified by:
usernamein interfaceXLReleaseEvent
-
username_$eq
public void username_$eq(java.lang.String x$1)
- Specified by:
username_$eqin interfaceXLReleaseEvent
-
original
public Variable original()
-
updated
public Variable updated()
-
source
public VariableModificationSource source()
-
copy
public GlobalVariableUpdatedEvent copy(Variable original, Variable updated, VariableModificationSource source)
-
copy$default$1
public Variable copy$default$1()
-
copy$default$2
public Variable copy$default$2()
-
copy$default$3
public VariableModificationSource copy$default$3()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArityin interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElementin interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equalsin interfacescala.Equals- Overrides:
equalsin classjava.lang.Object
-
-