fm.liveswitch.Report Class Referenceabstract

Report. More...

Static Public Member Functions

static< T extends fm.liveswitch.IEquivalent< T > T[] processArray (T[] newValues, T[] oldValues)
 Processes an array for a report. More...
 
static fm.liveswitch.NullableBoolean processBoolean (boolean newValue, boolean oldValue)
 Processes a boolean for a report. More...
 
static boolean[] processBooleanArray (boolean[] newValues, boolean[] oldValues)
 Processes a boolean array for a report. More...
 
static fm.liveswitch.NullableDouble processDouble (double newValue, double oldValue)
 Processes a double for a report. More...
 
static fm.liveswitch.NullableFloat processFloat (float newValue, float oldValue)
 Processes a float for a report. More...
 
static float[] processFloatArray (float[] newValues, float[] oldValues)
 Processes a float array for a report. More...
 
static double[] processFloatArray (double[] newValues, double[] oldValues)
 Processes a double array for a report. More...
 
static fm.liveswitch.NullableInteger processInteger (int newValue, int oldValue)
 Processes an integer for a report. More...
 
static int[] processIntegerArray (int[] newValues, int[] oldValues)
 Processes a integer array for a report. More...
 
static fm.liveswitch.NullableLong processLong (long newValue, long oldValue)
 Processes a long for a report. More...
 
static long[] processLongArray (long[] newValues, long[] oldValues)
 Processes a long array for a report. More...
 
static< T extends Object &fm.liveswitch.IEquivalent< T > T processObject (T newValue, T oldValue)
 Processes an array for a report. More...
 
static fm.liveswitch.NullableShort processShort (short newValue, short oldValue)
 Processes a short for a report. More...
 
static short[] processShortArray (short[] newValues, short[] oldValues)
 Processes a short array for a report. More...
 
static String processString (String newValue, String oldValue)
 Processes a string for a report. More...
 

Protected Member Functions

void deserializeProperties (String key, String valueJson)
 Deserializes the properties. More...
 
 Report ()
 
void serializeProperties (java.util.HashMap< String, String > jsonObject)
 Serializes the properties. More...
 

Detailed Description

Constructor & Destructor Documentation

◆ Report()

fm.liveswitch.Report.Report ( )
protected

Member Function Documentation

◆ deserializeProperties()

void fm.liveswitch.Report.deserializeProperties ( String  key,
String  valueJson 
)
protected

◆ processArray()

static <T extends fm.liveswitch.IEquivalent<T> T [] fm.liveswitch.Report.processArray ( T[]  newValues,
T[]  oldValues 
)
static

Processes an array for a report.

Parameters
newValuesThe new values.
oldValuesThe old values.
Returns
The new values, if the new values are not equivalent to the old values; otherwise null.

◆ processBoolean()

static fm.liveswitch.NullableBoolean fm.liveswitch.Report.processBoolean ( boolean  newValue,
boolean  oldValue 
)
static

Processes a boolean for a report.

Parameters
newValueThe new value.
oldValueThe old value.
Returns
The new value, if the new value does not equal the old value; otherwise null.

◆ processBooleanArray()

static boolean [] fm.liveswitch.Report.processBooleanArray ( boolean[]  newValues,
boolean[]  oldValues 
)
static

Processes a boolean array for a report.

Parameters
newValuesThe new values.
oldValuesThe old values.
Returns
The new values, if the new values do not equal the old values; otherwise null.

◆ processDouble()

static fm.liveswitch.NullableDouble fm.liveswitch.Report.processDouble ( double  newValue,
double  oldValue 
)
static

Processes a double for a report.

Parameters
newValueThe new value.
oldValueThe old value.
Returns
The new value, if the new value does not equal the old value; otherwise null.

◆ processFloat()

static fm.liveswitch.NullableFloat fm.liveswitch.Report.processFloat ( float  newValue,
float  oldValue 
)
static

Processes a float for a report.

Parameters
newValueThe new value.
oldValueThe old value.
Returns
The new value, if the new value does not equal the old value; otherwise null.

◆ processFloatArray() [1/2]

static double [] fm.liveswitch.Report.processFloatArray ( double[]  newValues,
double[]  oldValues 
)
static

Processes a double array for a report.

Parameters
newValuesThe new values.
oldValuesThe old values.
Returns
The new values, if the new values do not equal the old values; otherwise null.

◆ processFloatArray() [2/2]

static float [] fm.liveswitch.Report.processFloatArray ( float[]  newValues,
float[]  oldValues 
)
static

Processes a float array for a report.

Parameters
newValuesThe new values.
oldValuesThe old values.
Returns
The new values, if the new values do not equal the old values; otherwise null.

◆ processInteger()

static fm.liveswitch.NullableInteger fm.liveswitch.Report.processInteger ( int  newValue,
int  oldValue 
)
static

Processes an integer for a report.

Parameters
newValueThe new value.
oldValueThe old value.
Returns
The new value, if the new value does not equal the old value; otherwise null.

◆ processIntegerArray()

static int [] fm.liveswitch.Report.processIntegerArray ( int[]  newValues,
int[]  oldValues 
)
static

Processes a integer array for a report.

Parameters
newValuesThe new values.
oldValuesThe old values.
Returns
The new values, if the new values do not equal the old values; otherwise null.

◆ processLong()

static fm.liveswitch.NullableLong fm.liveswitch.Report.processLong ( long  newValue,
long  oldValue 
)
static

Processes a long for a report.

Parameters
newValueThe new value.
oldValueThe old value.
Returns
The new value, if the new value does not equal the old value; otherwise null.

◆ processLongArray()

static long [] fm.liveswitch.Report.processLongArray ( long[]  newValues,
long[]  oldValues 
)
static

Processes a long array for a report.

Parameters
newValuesThe new values.
oldValuesThe old values.
Returns
The new values, if the new values do not equal the old values; otherwise null.

◆ processObject()

static <T extends Object & fm.liveswitch.IEquivalent<T> T fm.liveswitch.Report.processObject ( newValue,
oldValue 
)
static

Processes an array for a report.

Parameters
newValueThe new value.
oldValueThe old value.
Returns
The new value, if the new value does not equal the old value; otherwise null.

◆ processShort()

static fm.liveswitch.NullableShort fm.liveswitch.Report.processShort ( short  newValue,
short  oldValue 
)
static

Processes a short for a report.

Parameters
newValueThe new value.
oldValueThe old value.
Returns
The new value, if the new value does not equal the old value; otherwise null.

◆ processShortArray()

static short [] fm.liveswitch.Report.processShortArray ( short[]  newValues,
short[]  oldValues 
)
static

Processes a short array for a report.

Parameters
newValuesThe new values.
oldValuesThe old values.
Returns
The new values, if the new values do not equal the old values; otherwise null.

◆ processString()

static String fm.liveswitch.Report.processString ( String  newValue,
String  oldValue 
)
static

Processes a string for a report.

Parameters
newValueThe new value.
oldValueThe old value.
Returns
The new value, if the new value does not equal the old value; otherwise null.

◆ serializeProperties()

void fm.liveswitch.Report.serializeProperties ( java.util.HashMap< String, String >  jsonObject)
protected