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 Details

    • ReleaseVariableReplacedEvent

      public ReleaseVariableReplacedEvent(Variable variable, VariableOrValue replacement)
  • Method Details