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,CommandAvailabilitycontains the errorMessage and some installation instructions.- Author:
- tiry
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanavailableprotected StringerrorMessageprotected StringinstallMessage
-
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 StringgetErrorMessage()StringgetInstallMessage()booleanisAvailable()
-