Class IncludeUrl
- java.lang.Object
-
- org.opennms.netmgt.config.discovery.IncludeUrl
-
- All Implemented Interfaces:
java.io.Serializable
public class IncludeUrl extends java.lang.Object implements java.io.Serializable
A file URL holding specific addresses to be polled. Each line in the URL file can be one of: "# ", " ", or "# ". Lines starting with a '#' are ignored and so are characters after a ' #' in a line. - See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IncludeUrl()
IncludeUrl(java.lang.String url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.Optional<java.lang.String>
getForeignSource()
java.util.Optional<java.lang.String>
getLocation()
java.util.Optional<java.lang.Integer>
getRetries()
java.util.Optional<java.lang.Long>
getTimeout()
java.util.Optional<java.lang.String>
getUrl()
int
hashCode()
void
setForeignSource(java.lang.String foreignSource)
void
setLocation(java.lang.String location)
void
setRetries(java.lang.Integer retries)
void
setTimeout(java.lang.Long timeout)
void
setUrl(java.lang.String url)
java.lang.String
toString()
-
-
-
Method Detail
-
getUrl
public java.util.Optional<java.lang.String> getUrl()
-
setUrl
public void setUrl(java.lang.String url)
-
getLocation
public java.util.Optional<java.lang.String> getLocation()
-
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.util.Optional<java.lang.String> getForeignSource()
-
setForeignSource
public void setForeignSource(java.lang.String foreignSource)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-