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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classBinaryInteraction.MatchedOutputProcessInteractionBuilderDefinition of allowed actions when output is matched
-
Constructor Summary
Constructors Constructor Description BinaryInteraction()Creates empty interaction builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.arquillian.spacelift.process.ProcessInteractionbuild()BuildsProcessInteractionobject from defined dataBinaryInteractionoutputPrefix(String prefix)Defines a prefix for standard output and standard error output.BinaryInteractionprintToOut(String pattern)BinaryInteraction.MatchedOutputProcessInteractionBuilderwhen(String pattern)Defines an interaction whenpatternis matched
-
-
-
Method Detail
-
when
public BinaryInteraction.MatchedOutputProcessInteractionBuilder when(String pattern)
Defines an interaction whenpatternis 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 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
-
-