Class Package
- java.lang.Object
-
- org.opennms.netmgt.config.rancid.adapter.Package
-
- All Implemented Interfaces:
Serializable
public class Package extends Object implements Serializable
Package encapsulating addresses, services to be polled for these addresses, etc..- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Package()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addExcludeRange(ExcludeRange excludeRange)
void
addIncludeRange(IncludeRange includeRange)
void
addIncludeUrl(String includeUrl)
void
addSpecific(String specific)
boolean
equals(Object obj)
List<ExcludeRange>
getExcludeRanges()
Filter
getFilter()
List<IncludeRange>
getIncludeRanges()
List<String>
getIncludeUrls()
String
getName()
List<String>
getSpecifics()
int
hashCode()
boolean
removeExcludeRange(ExcludeRange excludeRange)
boolean
removeIncludeRange(IncludeRange includeRange)
boolean
removeIncludeUrl(String includeUrl)
boolean
removeSpecific(String specific)
void
setExcludeRanges(List<ExcludeRange> excludeRanges)
void
setFilter(Filter filter)
void
setIncludeRanges(List<IncludeRange> includeRanges)
void
setIncludeUrls(List<String> includeUrls)
void
setName(String name)
void
setSpecifics(List<String> specifics)
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getFilter
public Filter getFilter()
-
setFilter
public void setFilter(Filter filter)
-
addSpecific
public void addSpecific(String specific)
-
removeSpecific
public boolean removeSpecific(String specific)
-
getIncludeRanges
public List<IncludeRange> getIncludeRanges()
-
setIncludeRanges
public void setIncludeRanges(List<IncludeRange> includeRanges)
-
addIncludeRange
public void addIncludeRange(IncludeRange includeRange)
-
removeIncludeRange
public boolean removeIncludeRange(IncludeRange includeRange)
-
getExcludeRanges
public List<ExcludeRange> getExcludeRanges()
-
setExcludeRanges
public void setExcludeRanges(List<ExcludeRange> excludeRanges)
-
addExcludeRange
public void addExcludeRange(ExcludeRange excludeRange)
-
removeExcludeRange
public boolean removeExcludeRange(ExcludeRange excludeRange)
-
addIncludeUrl
public void addIncludeUrl(String includeUrl)
-
removeIncludeUrl
public boolean removeIncludeUrl(String includeUrl)
-
-