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 voidapplyToCrshShellConfig(Properties config)Apply the properties to a CRaSH configuration.IntegergetAuthTimeout()IntegergetIdleTimeout()StringgetKeyPath()IntegergetPort()booleanisEnabled()voidsetAuthTimeout(Integer authTimeout)voidsetEnabled(boolean enabled)voidsetIdleTimeout(Integer idleTimeout)voidsetKeyPath(String keyPath)voidsetPort(Integer port)
Constructor Detail
Ssh
public Ssh()
Method Detail
applyToCrshShellConfig
protected void applyToCrshShellConfig(Properties config)
Description copied from class:ShellProperties.CrshShellPropertiesApply the properties to a CRaSH configuration.- Specified by:
applyToCrshShellConfigin 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)