Class WhoProperties.Admin
java.lang.Object
org.jwcarman.who.autoconfigure.WhoProperties.Admin
- Enclosing class:
WhoProperties
Properties for the
who-admin module.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the admin endpoints are on.voidsetEnabled(boolean enabled) Turns the admin endpoints off withfalse.
-
Constructor Details
-
Admin
public Admin()Creates the settings with their defaults.
-
-
Method Details
-
isEnabled
public boolean isEnabled()Returns whether the admin endpoints are on.- Returns:
- true unless turned off
-
setEnabled
public void setEnabled(boolean enabled) Turns the admin endpoints off withfalse.- Parameters:
enabled- false to turn them off
-