ilog.rules.dvs.common.output.impl

Class IlrKPIResultInteger

  • java.lang.Object
    • ilog.rules.dvs.common.output.impl.IlrBaseKPIResult
      • ilog.rules.dvs.common.output.impl.IlrKPIResultInteger
  • All Implemented Interfaces:
    IlrKPIResult, java.io.Serializable


    public class IlrKPIResultInteger
    extends ilog.rules.dvs.common.output.impl.IlrBaseKPIResult
    An integer KPI.
    See Also:
    Serialized Form
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void fromByteArray(byte[] bytes)
      Initializes the state of this KPI result from passed byte array.
      java.lang.Integer getValue()
      Returns the KPI value.
      void setValue(java.lang.Integer value)
      Sets the KPI value.
      byte[] toByteArray()
      Converts this KPI result to a byte array.
      • Methods inherited from class ilog.rules.dvs.common.output.impl.IlrBaseKPIResult

        getKPIClassName, setKPIClassName
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IlrKPIResultInteger

        public IlrKPIResultInteger()
    • Method Detail

      • getValue

        public java.lang.Integer getValue()
        Returns the KPI value.
        Returns:
        the KPI value.
      • setValue

        public void setValue(java.lang.Integer value)
        Sets the KPI value.
        Parameters:
        value - The value to set for the KPI.
      • fromByteArray

        public void fromByteArray(byte[] bytes)
                           throws IlrKPIException
        Initializes the state of this KPI result from passed byte array.
        Throws:
        IlrKPIException - if an error occurred while trying to deserialize state.
        Parameters:
        bytes - A byte[] that contains the serialization of the KPI result.
        See Also:
        IlrKPIResult.fromByteArray(byte[])

© Copyright IBM Corp. 1987, 2017