public class GMutableInterval extends Object
Constructor and Description |
---|
GMutableInterval(GInterval interval)
Constructor copy from an immutable GInterval object.
|
GMutableInterval(GMutableInterval interval)
Constructor copy from a mutable GMutableInterval object.
|
Modifier and Type | Method and Description |
---|---|
GInterval |
getGInterval()
Getter of an immutable GInterval object.
|
double |
getOkMax()
Get the absolute maximum value of the OK zone.
|
GIntervalAbstract.Rule |
getOkMaxRule()
Get the rule applying to the absolute maximum of the OK zone.
|
double |
getOkMin()
Get the absolute minimum value of the OK zone.
|
GIntervalAbstract.Rule |
getOkMinRule()
Get the rule applying to the absolute minimum of the OK zone.
|
double |
getWarnMax()
Get the absolute maximum value of the WARN zone.
|
GIntervalAbstract.Rule |
getWarnMaxRule()
Get the rule applying to the absolute maximum of the WARN zone.
|
double |
getWarnMin()
Get the absolute minimum value of the WARN zone.
|
GIntervalAbstract.Rule |
getWarnMinRule()
Get the rule applying to the absolute minimum of the WARN zone.
|
boolean |
isWarnCheckEnabled()
Get the flag for the WARN zone.
|
void |
removeWarnCheck()
Removes the WARN zone of the interval.
|
void |
setGInterval(GInterval interval)
Setter from an immutable GInterval object.
|
void |
setOkMax(double okMax)
Set the absolute maximum value of the OK zone.
|
void |
setOkMaxRule(GIntervalAbstract.Rule okMaxRule)
Set the rule applying to the absolute maximum of the OK zone.
|
void |
setOkMin(double okMin)
Set the absolute minimum value of the OK zone.
|
void |
setOkMinRule(GIntervalAbstract.Rule okMinRule)
Set the rule applying to the absolute minimum of the OK zone.
|
void |
setWarnMax(double warnMax)
Set the absolute maximum value of the WARN zone.
|
void |
setWarnMaxRule(GIntervalAbstract.Rule warnMaxRule)
Set the rule applying to the absolute maximum of the WARN zone.
|
void |
setWarnMin(double warnMin)
Set the absolute minimum value of the WARN zone.
|
void |
setWarnMinRule(GIntervalAbstract.Rule warnMinRule)
Set the rule applying to the absolute minimum of the WARN zone.
|
public GMutableInterval(GInterval interval)
interval
- interval to copy.public GMutableInterval(GMutableInterval interval)
interval
- interval to copy.public void setGInterval(GInterval interval)
interval
- immutable interval to copy.public GInterval getGInterval()
public double getOkMin()
public double getOkMax()
public GIntervalAbstract.Rule getOkMinRule()
public GIntervalAbstract.Rule getOkMaxRule()
public double getWarnMin()
public double getWarnMax()
public GIntervalAbstract.Rule getWarnMinRule()
public GIntervalAbstract.Rule getWarnMaxRule()
public boolean isWarnCheckEnabled()
public void setOkMin(double okMin) throws GIntervalException
okMin
- the absolute minimum value of the OK zone.GIntervalException
- if the interval is not validpublic void setOkMax(double okMax) throws GIntervalException
okMax
- the absolute maximum value of the OK zone.GIntervalException
- if the interval is not validpublic void setOkMinRule(GIntervalAbstract.Rule okMinRule) throws GIntervalException
okMinRule
- the rule applying to the absolute minimum of the OK zone.GIntervalException
- if the interval is not validpublic void setOkMaxRule(GIntervalAbstract.Rule okMaxRule) throws GIntervalException
okMaxRule
- the rule applying to the absolute maximum of the OK zone.GIntervalException
- if the interval is not validpublic void setWarnMin(double warnMin) throws GIntervalException
warnMin
- the absolute minimum value of the WARN zone.GIntervalException
- if the interval is not validpublic void setWarnMax(double warnMax) throws GIntervalException
warnMax
- the absolute maximum value of the WARN zone.GIntervalException
- if the interval is not validpublic void setWarnMinRule(GIntervalAbstract.Rule warnMinRule) throws GIntervalException
warnMinRule
- the rule applying to the absolute minimum of the WARN zone.GIntervalException
- if the interval is not validpublic void setWarnMaxRule(GIntervalAbstract.Rule warnMaxRule) throws GIntervalException
warnMaxRule
- the rule applying to the absolute maximum of the WARN zone.GIntervalException
- if the interval is not validpublic void removeWarnCheck() throws GIntervalException
GIntervalException
- if the interval is not validCopyright © 2024. All rights reserved.