Class OperationImpact


  • public final class OperationImpact
    extends Object
    The impact of an operation, both in absolute and relative terms.
    • Constructor Detail

      • OperationImpact

        public OperationImpact()
    • Method Detail

      • name

        public String name()
        Get the name property: The name of the impact dimension.
        Returns:
        the name value.
      • unit

        public String unit()
        Get the unit property: The unit in which estimated impact to dimension is measured.
        Returns:
        the unit value.
      • changeValueAbsolute

        public Double changeValueAbsolute()
        Get the changeValueAbsolute property: The absolute impact to dimension.
        Returns:
        the changeValueAbsolute value.
      • changeValueRelative

        public Double changeValueRelative()
        Get the changeValueRelative property: The relative impact to dimension (null if not applicable).
        Returns:
        the changeValueRelative value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.