Package org.apache.guacamole.net.auth
Interface Disableable
- All Known Implementing Classes:
AbstractUser
,AbstractUserGroup
,DelegatingUser
,DelegatingUserGroup
,SimpleUser
,SimpleUserGroup
public interface Disableable
An interface that defines items that can be enabled or disabled.
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
Returns true if this object is disabled, otherwise false.default void
setDisabled
(boolean disabled) Set the disabled status of this object to the boolean value provided, true if the object should be disabled, otherwise false.
-
Method Details
-
isDisabled
default boolean isDisabled()Returns true if this object is disabled, otherwise false.- Returns:
- True if this object is disabled, otherwise false.
-
setDisabled
default void setDisabled(boolean disabled) Set the disabled status of this object to the boolean value provided, true if the object should be disabled, otherwise false.- Parameters:
disabled
- True if the object should be disabled, otherwise false.
-