public class Package extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
void |
addDowntime(Downtime downtime) |
void |
addExcludeRange(ExcludeRange excludeRange) |
void |
addIncludeRange(IncludeRange includeRange) |
void |
addIncludeRange(String begin,
String end) |
void |
addIncludeUrl(String includeUrl) |
void |
addOutageCalendar(String outageCalendar) |
void |
addService(Service service) |
void |
addSpecific(String specific) |
boolean |
equals(Object obj) |
List<Downtime> |
getDowntimes() |
List<ExcludeRange> |
getExcludeRanges() |
Filter |
getFilter()
A rule which addresses belonging to this package must pass.
|
List<IncludeRange> |
getIncludeRanges() |
List<String> |
getIncludeUrls() |
String |
getName()
Name or identifier for this package.
|
List<String> |
getOutageCalendars() |
Boolean |
getRemote()
Boolean representing whether this is a package for a remote location
monitor.
|
Rrd |
getRrd()
RRD parameters for response time data.
|
Service |
getService(String serviceName) |
List<Service> |
getServices() |
List<String> |
getSpecifics() |
int |
hashCode() |
boolean |
removeDowntime(Downtime downtime) |
boolean |
removeExcludeRange(ExcludeRange excludeRange) |
boolean |
removeIncludeRange(IncludeRange includeRange) |
boolean |
removeIncludeUrl(String includeUrl) |
boolean |
removeOutageCalendar(String outageCalendar) |
boolean |
removeService(Service service) |
boolean |
removeSpecific(String specific) |
void |
setDowntimes(List<Downtime> downtimes) |
void |
setExcludeRanges(List<ExcludeRange> excludeRanges) |
void |
setFilter(Filter filter) |
void |
setFilter(String filter) |
void |
setIncludeRanges(List<IncludeRange> includeRanges) |
void |
setIncludeUrls(List<String> includeUrls) |
void |
setName(String name) |
void |
setOutageCalendars(List<String> outageCalendars) |
void |
setRemote(Boolean remote) |
void |
setRrd(Rrd rrd) |
void |
setServices(List<Service> services) |
void |
setSpecifics(List<String> specifics) |
String |
toString() |
public Package()
public Package(String name)
public String getName()
public void setName(String name)
public Boolean getRemote()
public void setRemote(Boolean remote)
public Filter getFilter()
public void setFilter(String filter)
public void setFilter(Filter filter)
public void addSpecific(String specific) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public boolean removeSpecific(String specific)
public List<IncludeRange> getIncludeRanges()
public void setIncludeRanges(List<IncludeRange> includeRanges)
public void addIncludeRange(IncludeRange includeRange) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public boolean removeIncludeRange(IncludeRange includeRange)
public List<ExcludeRange> getExcludeRanges()
public void setExcludeRanges(List<ExcludeRange> excludeRanges)
public void addExcludeRange(ExcludeRange excludeRange) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public boolean removeExcludeRange(ExcludeRange excludeRange)
public void addIncludeUrl(String includeUrl) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public boolean removeIncludeUrl(String includeUrl)
public Rrd getRrd()
public void setRrd(Rrd rrd)
public void addService(Service service) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public boolean removeService(Service service)
public void addOutageCalendar(String outageCalendar) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public boolean removeOutageCalendar(String outageCalendar)
public void addDowntime(Downtime downtime) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public boolean removeDowntime(Downtime downtime)
Copyright © 2015. All rights reserved.