Class HostPatternValue
- java.lang.Object
-
- org.apache.sshd.client.config.hosts.HostPatternValue
-
public class HostPatternValue extends java.lang.Object
Represents a pattern definition in the known_hosts file
-
-
Constructor Summary
Constructors Constructor Description HostPatternValue()
HostPatternValue(java.util.regex.Pattern pattern, boolean negated)
HostPatternValue(java.util.regex.Pattern pattern, int port, boolean negated)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.regex.Pattern
getPattern()
int
getPort()
boolean
isNegated()
void
setNegated(boolean negated)
void
setPattern(java.util.regex.Pattern pattern)
void
setPort(int port)
java.lang.String
toString()
-
-
-
Method Detail
-
getPattern
public java.util.regex.Pattern getPattern()
-
setPattern
public void setPattern(java.util.regex.Pattern pattern)
-
getPort
public int getPort()
-
setPort
public void setPort(int port)
-
isNegated
public boolean isNegated()
-
setNegated
public void setNegated(boolean negated)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-