public class Downtime extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
DELETE_ALWAYS |
static String |
DELETE_MANAGED |
static String |
DELETE_NEVER |
Constructor and Description |
---|
Downtime() |
Downtime(long interval,
long begin,
long end) |
Downtime(long begin,
String delete) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Long |
getBegin()
Start of the interval.
|
String |
getDelete()
Attribute that determines if service is to be deleted when down
continuously since the start time.
|
Long |
getEnd()
End of the interval.
|
Long |
getInterval()
Interval at which service is to be polled between the specified start
and end when service has been continuously down.
|
boolean |
hasEnd() |
int |
hashCode() |
void |
setBegin(Integer begin) |
void |
setBegin(Long begin) |
void |
setDelete(String delete) |
void |
setEnd(Integer end) |
void |
setEnd(Long end) |
void |
setInterval(Integer interval) |
void |
setInterval(Long interval) |
String |
toString() |
public static final String DELETE_ALWAYS
public static final String DELETE_MANAGED
public static final String DELETE_NEVER
public Downtime()
public Downtime(long interval, long begin, long end)
public Downtime(long begin, String delete)
public Long getBegin()
public void setBegin(Long begin)
public void setBegin(Integer begin)
public Long getEnd()
public void setEnd(Long end)
public void setEnd(Integer end)
public boolean hasEnd()
public String getDelete()
public void setDelete(String delete)
public Long getInterval()
public void setInterval(Long interval)
public void setInterval(Integer interval)
Copyright © 2021. All rights reserved.