public class IlrKPIResultInteger
extends ilog.rules.dvs.common.output.impl.IlrBaseKPIResult
| Constructor and Description |
|---|
IlrKPIResultInteger() |
| 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.
|
public java.lang.Integer getValue()
public void setValue(java.lang.Integer value)
value - The value to set for the KPI.public byte[] toByteArray()
throws IlrKPIException
IlrKPIException - if an error occurred while converting to byte array.IlrKPIResult.toByteArray()public void fromByteArray(byte[] bytes)
throws IlrKPIException
IlrKPIException - if an error occurred while trying to deserialize state.bytes - A byte[] that contains the serialization of the KPI result.IlrKPIResult.fromByteArray(byte[])© Copyright IBM Corp. 1987, 2017