类 ShellProperties.Ssh
- java.lang.Object
- org.springframework.boot.actuate.autoconfigure.ShellProperties.CrshShellProperties
- org.springframework.boot.actuate.autoconfigure.ShellProperties.Ssh
- 封闭类:
- ShellProperties
public static class ShellProperties.Ssh extends ShellProperties.CrshShellProperties
SSH properties.
构造器概要
构造器 构造器 说明 Ssh()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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)
构造器详细资料
Ssh
public Ssh()
方法详细资料
applyToCrshShellConfig
protected void applyToCrshShellConfig(Properties config)
从类复制的说明:ShellProperties.CrshShellPropertiesApply the properties to a CRaSH configuration.- 指定者:
applyToCrshShellConfig在类中ShellProperties.CrshShellProperties- 参数:
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)