Class DeltaSpikeProjectStageActivationStrategy

  • All Implemented Interfaces:
    ActivationStrategy

    public class DeltaSpikeProjectStageActivationStrategy
    extends AbstractTokenizedActivationStrategy

    An activation strategy based on the active ProjectStage within the DeltaSpike environment.

    Although only one ProjectStage can be active at any given time, one or more stage names can be specified in a comma-separated value via the ""stages"" parameter. This strategy works by only activating the feature if at least one of the stages are currently active. Stage names are case sensitive and should match the stage class name.

    If a given stage is prefixed with the NOT operator (!), the feature will only be active if the stage is not active. If the value of the ""stages"" parameter was "Development,!Production", the feature would only be active if "Development" is active or if "Production" is not active.

    Author:
    Alasdair Mercer
    See Also:
    AbstractTokenizedActivationStrategy