Package org.springframework.shell
Class Availability
java.lang.Object
org.springframework.shell.Availability
Indicates whether or not a command is currently available. When not available, provides
a reason.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Availabilitybooleanstatic Availabilityunavailable(String reason)
-
Method Details
-
available
-
isAvailable
public boolean isAvailable() -
getReason
-