Class BinaryInteraction

java.lang.Object
org.jboss.arquillian.drone.webdriver.binary.process.BinaryInteraction

public class BinaryInteraction extends Object
Creates a Spacelift interaction for process that are usually tight with some specific output and for which you can define which output should be printed to stdout
  • Constructor Details

    • BinaryInteraction

      public BinaryInteraction()
      Creates empty interaction builder
  • Method Details

    • when

      Defines an interaction when pattern is matched
      Parameters:
      pattern - the line
      Returns:
      current instance to allow chaining
    • printToOut

      public BinaryInteraction printToOut(String pattern)
    • outputPrefix

      public BinaryInteraction outputPrefix(String prefix)
      Defines a prefix for standard output and standard error output. Might be null or empty string, in such case no prefix is added and process outputs cannot be distinguished
      Parameters:
      prefix - the prefix
      Returns:
      current instance to allow chaining
    • build

      public org.arquillian.spacelift.process.ProcessInteraction build()
      Builds ProcessInteraction object from defined data
      Returns:
      ProcessInteraction