public class ShutdownSwitch extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ShutdownSwitch.CauseEnum |
| 构造器和说明 |
|---|
ShutdownSwitch() |
ShutdownSwitch(boolean shutdown) |
ShutdownSwitch(boolean shutdown,
String cause) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ShutdownSwitch |
defaultSwitch() |
String |
getCause()
Getter method for property cause.
|
boolean |
isShutdown() |
void |
setCause(String cause)
Setter method for property cause.
|
void |
setShutdown(boolean shutdown) |
String |
toString() |
public ShutdownSwitch()
public ShutdownSwitch(boolean shutdown)
public ShutdownSwitch(boolean shutdown,
String cause)
public static ShutdownSwitch defaultSwitch()
public boolean isShutdown()
public void setShutdown(boolean shutdown)
public String getCause()
public void setCause(String cause)
cause - value to be assigned to property causeCopyright © 2023 The Ant Financial. All rights reserved.