Class ShellProperties.Ssh
- java.lang.Object
- org.springframework.boot.actuate.autoconfigure.ShellProperties.CrshShellProperties
- org.springframework.boot.actuate.autoconfigure.ShellProperties.Ssh
- Enclosing class:
- ShellProperties
public static class ShellProperties.Ssh extends ShellProperties.CrshShellProperties
SSH properties.
Constructor Summary
Constructors Constructor Description Ssh()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyToCrshShellConfig(Properties config)
Apply the properties to a CRaSH configuration.Integer
getAuthTimeout()
Integer
getIdleTimeout()
String
getKeyPath()
Integer
getPort()
boolean
isEnabled()
void
setAuthTimeout(Integer authTimeout)
void
setEnabled(boolean enabled)
void
setIdleTimeout(Integer idleTimeout)
void
setKeyPath(String keyPath)
void
setPort(Integer port)
Constructor Detail
Ssh
public Ssh()
Method Detail
applyToCrshShellConfig
protected void applyToCrshShellConfig(Properties config)
Description copied from class:ShellProperties.CrshShellProperties
Apply the properties to a CRaSH configuration.- Specified by:
applyToCrshShellConfig
in classShellProperties.CrshShellProperties
- Parameters:
config
- the CRaSH configuration properties
setEnabled
public void setEnabled(boolean enabled)
isEnabled
public boolean isEnabled()
setKeyPath
public void setKeyPath(String keyPath)
getKeyPath
public String getKeyPath()
getIdleTimeout
public Integer getIdleTimeout()
setIdleTimeout
public void setIdleTimeout(Integer idleTimeout)
getAuthTimeout
public Integer getAuthTimeout()
setAuthTimeout
public void setAuthTimeout(Integer authTimeout)