Platform Explorer / Nuxeo Platform LTS 2015 7.10

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:

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

Contribution Descriptor

Existing Contributions

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