public class BinaryInteraction extends Object
Modifier and Type | Class and Description |
---|---|
class |
BinaryInteraction.MatchedOutputProcessInteractionBuilder
Definition of allowed actions when output is matched
|
Constructor and Description |
---|
BinaryInteraction()
Creates empty interaction builder
|
Modifier and Type | Method and Description |
---|---|
org.arquillian.spacelift.process.ProcessInteraction |
build()
Builds
ProcessInteraction object from defined data |
BinaryInteraction |
outputPrefix(String prefix)
Defines a prefix for standard output and standard error output.
|
BinaryInteraction |
printToOut(String pattern) |
BinaryInteraction.MatchedOutputProcessInteractionBuilder |
when(String pattern)
Defines an interaction when
pattern is matched |
public BinaryInteraction.MatchedOutputProcessInteractionBuilder when(String pattern)
pattern
is matchedpattern
- the linepublic BinaryInteraction printToOut(String pattern)
public BinaryInteraction outputPrefix(String prefix)
null
or empty string,
in such case no prefix is added and process outputs cannot be distinguishedprefix
- the prefixpublic org.arquillian.spacelift.process.ProcessInteraction build()
ProcessInteraction
object from defined dataProcessInteraction
Copyright © 2017 JBoss by Red Hat. All rights reserved.