Class BinaryInteraction
java.lang.Object
org.jboss.arquillian.drone.webdriver.binary.process.BinaryInteraction
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassDefinition of allowed actions when output is matched -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.arquillian.spacelift.process.ProcessInteractionbuild()BuildsProcessInteractionobject from defined dataoutputPrefix(String prefix) Defines a prefix for standard output and standard error output.printToOut(String pattern) Defines an interaction whenpatternis matched
-
Constructor Details
-
BinaryInteraction
public BinaryInteraction()Creates empty interaction builder
-
-
Method Details
-
when
Defines an interaction whenpatternis matched- Parameters:
pattern- the line- Returns:
- current instance to allow chaining
-
printToOut
-
outputPrefix
Defines a prefix for standard output and standard error output. Might benullor 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()BuildsProcessInteractionobject from defined data- Returns:
ProcessInteraction
-