Class Definition
- java.lang.Object
-
- org.opennms.netmgt.config.discovery.Definition
-
- All Implemented Interfaces:
java.io.Serializable
public class Definition extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Definition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDetector(Detector detector)
void
addExcludeRange(ExcludeRange excludeRange)
void
addIncludeRange(IncludeRange includeRange)
void
addIncludeUrl(IncludeUrl includeUrl)
void
addSpecific(Specific specific)
boolean
equals(java.lang.Object o)
java.util.List<Detector>
getDetectors()
java.util.List<ExcludeRange>
getExcludeRanges()
java.lang.String
getForeignSource()
java.util.List<IncludeRange>
getIncludeRanges()
java.util.List<IncludeUrl>
getIncludeUrls()
java.util.Optional<java.lang.String>
getLocation()
java.lang.String
getLocationName()
java.util.Optional<java.lang.Integer>
getRetries()
java.util.List<Specific>
getSpecifics()
java.util.Optional<java.lang.Long>
getTimeout()
int
hashCode()
boolean
removeIncludeUrl(IncludeUrl includeUrl)
void
setDetectors(java.util.List<Detector> detectors)
void
setExcludeRanges(java.util.List<ExcludeRange> excludeRanges)
void
setForeignSource(java.lang.String foreignSource)
void
setIncludeRanges(java.util.List<IncludeRange> includeRanges)
void
setIncludeUrls(java.util.List<IncludeUrl> includeUrls)
void
setLocation(java.lang.String location)
void
setRetries(java.lang.Integer retries)
void
setSpecifics(java.util.List<Specific> specifics)
void
setTimeout(java.lang.Long timeout)
-
-
-
Method Detail
-
getLocation
public java.util.Optional<java.lang.String> getLocation()
-
getLocationName
public java.lang.String getLocationName()
-
setLocation
public void setLocation(java.lang.String location)
-
getRetries
public java.util.Optional<java.lang.Integer> getRetries()
-
setRetries
public void setRetries(java.lang.Integer retries)
-
getTimeout
public java.util.Optional<java.lang.Long> getTimeout()
-
setTimeout
public void setTimeout(java.lang.Long timeout)
-
getForeignSource
public java.lang.String getForeignSource()
-
setForeignSource
public void setForeignSource(java.lang.String foreignSource)
-
getSpecifics
public java.util.List<Specific> getSpecifics()
-
setSpecifics
public void setSpecifics(java.util.List<Specific> specifics)
-
addSpecific
public void addSpecific(Specific specific)
-
getIncludeRanges
public java.util.List<IncludeRange> getIncludeRanges()
-
setIncludeRanges
public void setIncludeRanges(java.util.List<IncludeRange> includeRanges)
-
addIncludeRange
public void addIncludeRange(IncludeRange includeRange)
-
getExcludeRanges
public java.util.List<ExcludeRange> getExcludeRanges()
-
setExcludeRanges
public void setExcludeRanges(java.util.List<ExcludeRange> excludeRanges)
-
addExcludeRange
public void addExcludeRange(ExcludeRange excludeRange)
-
getDetectors
public java.util.List<Detector> getDetectors()
-
setDetectors
public void setDetectors(java.util.List<Detector> detectors)
-
addDetector
public void addDetector(Detector detector)
-
getIncludeUrls
public java.util.List<IncludeUrl> getIncludeUrls()
-
setIncludeUrls
public void setIncludeUrls(java.util.List<IncludeUrl> includeUrls)
-
addIncludeUrl
public void addIncludeUrl(IncludeUrl includeUrl)
-
removeIncludeUrl
public boolean removeIncludeUrl(IncludeUrl includeUrl)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-