Uses of Class
org.silverpeas.core.util.exec.ExternalExecution.Config
-
Packages that use ExternalExecution.Config Package Description org.silverpeas.core.util.exec Provides utility classes to execute an external program of services to perform a given task for Silverpeas. -
-
Uses of ExternalExecution.Config in org.silverpeas.core.util.exec
Methods in org.silverpeas.core.util.exec that return ExternalExecution.Config Modifier and Type Method Description ExternalExecution.Config
ExternalExecution.Config. doNotDisplayErrorTrace()
Calling this method avoids to log errors thrown during the execution of a command into log handlers of the server.
It is useful for a command for which an execution error can be interpreted as a functional information.static ExternalExecution.Config
ExternalExecution.Config. init()
Initializes a config with default values: the code value of a successful exit status is 0 the exception errors are traced bySilverLogger.error(Throwable)
ExternalExecution.Config
ExternalExecution.Config. successfulExitStatusValueIs(int successfulExitStatusValue)
Sets the code value of a successful exit status.Methods in org.silverpeas.core.util.exec with parameters of type ExternalExecution.Config Modifier and Type Method Description static List<String>
ExternalExecution. exec(org.apache.commons.exec.CommandLine commandLine, ExternalExecution.Config config)
Execute the given external command into the context defined by the givenExternalExecution.Config
.
-