Platform Explorer / CMF 1.8

Extension point commandTester


Extension point to contribute new command testers. It's a class that provides a way to test if a command is installed on the target server OS.

Available options are: -name: the name of the commandTester.

-class: the class implementing CommandTester interface.

Command tester contribution example:

        class="org.nuxeo.ecm.platform.commandline.executor.service.cmdtesters.SystemPathExistTester" name="SystemPathTester"/>

Contribution Descriptors

  • Class: org.nuxeo.ecm.platform.commandline.executor.service.CommandTesterDescriptor

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-platform-commandline-executor-5.4.2-HF05.jar
    <extension point="commandTester" target="org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent">
          Simple default tester that only checks for command existence in the system path.
        <commandTester class="org.nuxeo.ecm.platform.commandline.executor.service.cmdtesters.SystemPathExistTester" name="SystemPathTester">