Class Availability

java.lang.Object
org.springframework.shell.Availability

public class Availability extends Object
Indicates whether or not a command is currently available. When not available, provides a reason.
  • Method Details

    • available

      public static Availability available()
    • unavailable

      public static Availability unavailable(String reason)
    • isAvailable

      public boolean isAvailable()
    • getReason

      public String getReason()