Package org.opennms.netmgt.config.rws
Class BaseUrl
- java.lang.Object
-
- org.opennms.netmgt.config.rws.BaseUrl
-
- All Implemented Interfaces:
java.io.Serializable
public class BaseUrl extends java.lang.Object implements java.io.Serializable
Base Url(s) for Rancid Server.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BaseUrl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getDirectory()
java.util.Optional<java.lang.String>
getPassword()
java.lang.String
getServerUrl()
java.lang.Integer
getTimeout()
java.util.Optional<java.lang.String>
getUsername()
int
hashCode()
void
setDirectory(java.lang.String directory)
void
setPassword(java.lang.String password)
void
setServerUrl(java.lang.String serverUrl)
void
setTimeout(java.lang.Integer timeout)
void
setUsername(java.lang.String username)
-
-
-
Method Detail
-
getServerUrl
public java.lang.String getServerUrl()
-
setServerUrl
public void setServerUrl(java.lang.String serverUrl)
-
getTimeout
public java.lang.Integer getTimeout()
-
setTimeout
public void setTimeout(java.lang.Integer timeout)
-
getDirectory
public java.lang.String getDirectory()
-
setDirectory
public void setDirectory(java.lang.String directory)
-
getUsername
public java.util.Optional<java.lang.String> getUsername()
-
setUsername
public void setUsername(java.lang.String username)
-
getPassword
public java.util.Optional<java.lang.String> getPassword()
-
setPassword
public void setPassword(java.lang.String password)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-