Class CommandAvailability
java.lang.Object
org.nuxeo.ecm.platform.commandline.executor.api.CommandAvailability
- All Implemented Interfaces:
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 Summary
-
Constructor Summary
ConstructorDescriptionCommandAvailability
(String errorMessage) CommandAvailability
(String installMessage, String errorMessage) -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Field Details
-
installMessage
-
errorMessage
-
available
protected final boolean available
-
-
Constructor Details
-
CommandAvailability
-
CommandAvailability
-
CommandAvailability
public CommandAvailability()
-
-
Method Details
-
getInstallMessage
-
getErrorMessage
-
isAvailable
public boolean isAvailable()
-