Uses of Class
de.iip_ecosphere.platform.configuration.maven.ProcessUnit.ProcessUnitBuilder
-
Uses of ProcessUnit.ProcessUnitBuilder in de.iip_ecosphere.platform.configuration.maven
Methods in de.iip_ecosphere.platform.configuration.maven that return ProcessUnit.ProcessUnitBuilderModifier and TypeMethodDescriptionProcessUnit.ProcessUnitBuilder.addArgument(boolean enable, Object argument) Adds a conditional command line argument.ProcessUnit.ProcessUnitBuilder.addArgument(Object argument) Adds a command line argument.ProcessUnit.ProcessUnitBuilder.addArgumentOrScriptCommand(boolean cmdAsScript, String cmd) Addscmdas a script (also if inProcessUnit.SCRIPT_NAMES) or as argument.ProcessUnit.ProcessUnitBuilder.addArgumentOrScriptCommand(String cmd) Addscmdas a script (also if inProcessUnit.SCRIPT_NAMES) or as argument.ProcessUnit.ProcessUnitBuilder.addArguments(String... arguments) Adds command line arguments.ProcessUnit.ProcessUnitBuilder.addArguments(List<String> arguments) Adds command line arguments.ProcessUnit.ProcessUnitBuilder.addCheckRegEx(Pattern regEx) Adds a checking regular expression on the logging.ProcessUnit.ProcessUnitBuilder.addMavenCommand()Adds the maven command (shall be used for arguments).private ProcessUnit.ProcessUnitBuilderTestAppMojo.addMavenTestCall(ProcessUnit.ProcessUnitBuilder testBuilder) Adds the command line arguments for a maven call.ProcessUnit.ProcessUnitBuilder.addShellScriptCommand(String scriptName) Adds a shell command (shall be used for arguments).ProcessUnit.ProcessUnitBuilder.addShellScriptCommand(String scriptName, String extension) Adds a shell script command (shall be used for arguments).private ProcessUnit.ProcessUnitBuilderTestAppMojo.createPlatformBuilder(String description, File home, String scriptName, ProcessUnit.TerminationListener listener, String... args) Creates a process unit builder for a platform process.Sets the logging to a given file.ProcessUnit.ProcessUnitBuilder.redirectErr2In()Redirects the process error stream so that it appears as input stream.Sets the process home directory.ProcessUnit.ProcessUnitBuilder.setListener(ProcessUnit.TerminationListener listener) Sets a termination listener.ProcessUnit.ProcessUnitBuilder.setNodeJsHome(String home) Changes the nodejs home/bin directory, i.e., the directory where the bin files are located, which is usually in Windows the home directory, in linux the bin sub-directory.ProcessUnit.ProcessUnitBuilder.setNotifyListenerByLogMatch(boolean notifyByLogMatch) Sets whether the process listener shall be informed on a complete log regEx match, terminating the process if there is no listener.ProcessUnit.ProcessUnitBuilder.setRegExConjunction(boolean conjunct) Sets the log regEx aggregation mode, either conjunction or disjunction.ProcessUnit.ProcessUnitBuilder.setTimeout(long timeout) Sets the lifetime/timeout of the process.Methods in de.iip_ecosphere.platform.configuration.maven with parameters of type ProcessUnit.ProcessUnitBuilderModifier and TypeMethodDescriptionprivate ProcessUnit.ProcessUnitBuilderTestAppMojo.addMavenTestCall(ProcessUnit.ProcessUnitBuilder testBuilder) Adds the command line arguments for a maven call.private ProcessUnitTestAppMojo.buildAndRegister(ProcessUnit.ProcessUnitBuilder builder) Builds the process unit ofbuilderand registers it for shutdown.