Class CommandAvailability

java.lang.Object
org.nuxeo.ecm.platform.commandline.executor.api.CommandAvailability
All Implemented Interfaces:
Serializable

public class CommandAvailability extends Object implements Serializable
Represents the availability status of a command. If command is not available, CommandAvailability contains the errorMessage and some installation instructions.
Author:
tiry
See Also:
  • Field Details

    • installMessage

      protected final String installMessage
    • errorMessage

      protected final String errorMessage
    • available

      protected final boolean available
  • Constructor Details

    • CommandAvailability

      public CommandAvailability(String installMessage, String errorMessage)
    • CommandAvailability

      public CommandAvailability(String errorMessage)
    • CommandAvailability

      public CommandAvailability()
  • Method Details

    • getInstallMessage

      public String getInstallMessage()
    • getErrorMessage

      public String getErrorMessage()
    • isAvailable

      public boolean isAvailable()