Interface ProcessDryRunConfiguration

    • Method Detail

      • startFailure

        boolean startFailure()
        Should process be failed on startup or not.
        Returns:
        Returns true if the process should be marked as startup failed, false otherwise
      • getExitCode

        java.util.Optional<java.lang.Integer> getExitCode()
        Process exit code. Default value is 0 is not startFailure(). Returns Optional.empty() if configured {#link startFailure}.
        Returns:
        Returns process exit code if startFailure() not set, otherwise Optional.empty()
      • getStreamSupplier

        java.util.Optional<java.util.function.Supplier<ProcessDryRunProcessStream>> getStreamSupplier()
        Get stream supplier.
        Returns:
        Returns stream supplier
      • getCommandAndArgumentsSupplier

        java.util.Optional<java.util.function.Consumer<java.util.Collection<java.lang.String>>> getCommandAndArgumentsSupplier()
        Get command and arguments supplier. If command and arguments should be processed, e.g. printed on console
        Returns:
        Returns command and arguments supplier