Class GlobalVariableCreatedEvent
java.lang.Object
com.xebialabs.xlrelease.domain.events.GlobalVariableCreatedEvent
- All Implemented Interfaces:
GlobalVariableEvent,VariableEvent,XLReleaseEvent,Serializable,scala.Equals,scala.Product
public class GlobalVariableCreatedEvent
extends Object
implements GlobalVariableEvent, scala.Product, Serializable
Event published when a global variable is created. Currently this event is limited only to situation when the global
variable is created from a script task in a release, using
globalVariables dictionary.
param: variable created global variable.
param: source the way it was created. Currently only ModifiedFromScriptTask is supported.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGlobalVariableCreatedEvent(Variable variable, VariableModificationSource source) -
Method Summary
Modifier and TypeMethodDescriptionstatic GlobalVariableCreatedEventapply(Variable variable, VariableModificationSource source) booleancopy(Variable variable, VariableModificationSource source) booleaninthashCode()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>source()toString()static scala.Option<scala.Tuple2<Variable,VariableModificationSource>> username()voidusername_$eq(String x$1) variable()Methods inherited from interface scala.Product
productElementNamesMethods inherited from interface com.xebialabs.xlrelease.domain.events.XLReleaseEvent
timeMs, timestamp
-
Constructor Details
-
GlobalVariableCreatedEvent
-
-
Method Details
-
apply
public static GlobalVariableCreatedEvent apply(Variable variable, VariableModificationSource source) -
unapply
public static scala.Option<scala.Tuple2<Variable,VariableModificationSource>> unapply(GlobalVariableCreatedEvent x$0) -
username
- Specified by:
usernamein interfaceXLReleaseEvent
-
username_$eq
- Specified by:
username_$eqin interfaceXLReleaseEvent
-
variable
-
source
-
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
-