Class HostPatternValue
- java.lang.Object
-
- org.apache.sshd.client.config.hosts.HostPatternValue
-
public class HostPatternValue extends java.lang.ObjectRepresents 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.PatterngetPattern()intgetPort()booleanisNegated()voidsetNegated(boolean negated)voidsetPattern(java.util.regex.Pattern pattern)voidsetPort(int port)java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-