Class CommandLineDescriptor

java.lang.Object
org.nuxeo.ecm.platform.commandline.executor.service.CommandLineDescriptor

public class CommandLineDescriptor extends Object
XMap descriptor for a CommandLine.
Author:
tiry
  • Field Details

    • name

      protected String name
    • enabled

      protected boolean enabled
    • available

      protected boolean available
    • command

      protected String command
    • parameterString

      protected String parameterString
    • testParameterString

      protected String testParameterString
    • winParameterString

      protected String winParameterString
    • winTestParameterString

      protected String winTestParameterString
    • winCommand

      protected String winCommand
    • tester

      protected String tester
    • readOutput

      protected boolean readOutput
    • installationDirective

      protected String installationDirective
    • installErrorMessage

      protected String installErrorMessage
    • timeout

      public Duration timeout
  • Constructor Details

    • CommandLineDescriptor

      public CommandLineDescriptor()
  • Method Details

    • getInstallErrorMessage

      public String getInstallErrorMessage()
    • setInstallErrorMessage

      public void setInstallErrorMessage(String installErrorMessage)
    • getName

      public String getName()
    • isEnabled

      public boolean isEnabled()
    • getCommand

      public String getCommand()
    • getInstallationDirective

      public String getInstallationDirective()
    • getTester

      public String getTester()
    • isAvailable

      public boolean isAvailable()
    • setAvailable

      public void setAvailable(boolean available)
    • getReadOutput

      public boolean getReadOutput()
    • getParametersString

      public String getParametersString()
    • getTestParametersString

      public String getTestParametersString()
    • getExecutor

      public String getExecutor()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getTimeout

      public Duration getTimeout()
      Returns the time limit for the command
      Since:
      11.5