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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
available
protected String
errorMessage
protected String
installMessage
-
Constructor Summary
Constructors Constructor Description CommandAvailability()
CommandAvailability(String errorMessage)
CommandAvailability(String installMessage, String errorMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getErrorMessage()
String
getInstallMessage()
boolean
isAvailable()
-