public class GMutableIntervalDate extends Object
Constructor and Description |
---|
GMutableIntervalDate(GIntervalDate interval)
Constructor copy from an immutable GInterval object.
|
GMutableIntervalDate(GMutableIntervalDate interval)
Constructor copy from a mutable GMutableInterval object.
|
Modifier and Type | Method and Description |
---|---|
GIntervalDate |
getGInterval()
Getter of an immutable GInterval object.
|
Date |
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.
|
Date |
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.
|
Date |
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.
|
Date |
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(GIntervalDate interval)
Setter from an immutable GInterval object.
|
void |
setOkMax(Date okMax)
Set the absolute maximum value of the OK zone.
|
void |
setOkMax(String 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(Date okMin)
Set the absolute minimum value of the OK zone.
|
void |
setOkMin(String 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(Date warnMax)
Set the absolute maximum value of the WARN zone.
|
void |
setWarnMax(String 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(Date warnMin)
Set the absolute minimum value of the WARN zone.
|
void |
setWarnMin(String 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 GMutableIntervalDate(GIntervalDate interval)
interval
- interval to copy.public GMutableIntervalDate(GMutableIntervalDate interval)
interval
- interval to copy.public void setGInterval(GIntervalDate interval)
interval
- immutable interval to copy.public GIntervalDate getGInterval()
public Date getOkMin()
public Date getOkMax()
public GIntervalAbstract.Rule getOkMinRule()
public GIntervalAbstract.Rule getOkMaxRule()
public Date getWarnMin()
public Date getWarnMax()
public GIntervalAbstract.Rule getWarnMinRule()
public GIntervalAbstract.Rule getWarnMaxRule()
public boolean isWarnCheckEnabled()
public void setOkMin(Date okMin)
okMin
- the absolute minimum value of the OK zone.public void setOkMin(String okMin) throws GDateFieldException
okMin
- the absolute minimum value of the OK zone.GDateFieldException
- in case the date can not be parsed.public void setOkMax(Date okMax)
okMax
- the absolute maximum value of the OK zone.public void setOkMax(String okMax) throws GDateFieldException
okMax
- the absolute maximum value of the OK zone.GDateFieldException
- in case the date can not be parsed.public void setOkMinRule(GIntervalAbstract.Rule okMinRule)
okMinRule
- the rule applying to the absolute minimum of the OK zone.public void setOkMaxRule(GIntervalAbstract.Rule okMaxRule)
okMaxRule
- the rule applying to the absolute maximum of the OK zone.public void setWarnMin(Date warnMin)
warnMin
- the absolute minimum value of the WARN zone.public void setWarnMin(String warnMin) throws GDateFieldException
warnMin
- the absolute minimum value of the WARN zone.GDateFieldException
- in case the date can not be parsed.public void setWarnMax(Date warnMax)
warnMax
- the absolute maximum value of the WARN zone.public void setWarnMax(String warnMax) throws GDateFieldException
warnMax
- the absolute maximum value of the WARN zone.GDateFieldException
- in case the date can not be parsed.public void setWarnMinRule(GIntervalAbstract.Rule warnMinRule)
warnMinRule
- the rule applying to the absolute minimum of the WARN zone.public void setWarnMaxRule(GIntervalAbstract.Rule warnMaxRule)
warnMaxRule
- the rule applying to the absolute maximum of the WARN zone.public void removeWarnCheck()
Copyright © 2024. All rights reserved.