Interface IVariationStrategy<VALUE_TYPE>

All Known Implementing Classes:
AbstractActionReplication, AbstractUserActionReplication, ClosedWorkloadVariation, ForkedBehaviourReplication, LoadBalancingVariation, LoopIterationVariation, OpenWorkloadVariation, SystemCallActionParameterVariation

public interface IVariationStrategy<VALUE_TYPE>
Interface for specifying variation strategies of PCM elements. For example, the population number of a closed workload can be varied. For specifying a variation strategy, the strategy has to allow two things. First, a strategy must to allow to specify the element to be varied (e.g., a closed workload). Second, a strategy must allow to assign a concrete value to the specified element (e.g., 10 users). Implementing classes are can be referenced from Experiment Automation's variation meta class. The "pcm.variation" model includes such references that are used in the PCM context.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Sets the given EObject as the element top be varied.
    Sets the given concrete value to the object to be varied.
  • Method Details

    • setVariedObject

      void setVariedObject(EObject eObject)
      Sets the given EObject as the element top be varied.
      Parameters:
      eObject - the given EObject.
    • vary

      String vary(VALUE_TYPE value)
      Sets the given concrete value to the object to be varied.
      Parameters:
      value - the concrete value to assigned to the varied object.
      Returns:
      a textual description of the variation.