Package org.jvnet.hudson.test
Class PrefixedOutputStream.Builder
- java.lang.Object
-
- org.jvnet.hudson.test.PrefixedOutputStream.Builder
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- PrefixedOutputStream
public static final class PrefixedOutputStream.Builder extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputStream
build(OutputStream delegate)
PrefixedOutputStream.AnsiColor
getColor()
String
getName()
PrefixedOutputStream.Builder
withColor(PrefixedOutputStream.AnsiColor color)
PrefixedOutputStream.Builder
withName(String name)
-
-
-
Method Detail
-
withName
public PrefixedOutputStream.Builder withName(@CheckForNull String name)
-
getName
@CheckForNull public String getName()
-
withColor
public PrefixedOutputStream.Builder withColor(@CheckForNull PrefixedOutputStream.AnsiColor color)
-
getColor
@CheckForNull public PrefixedOutputStream.AnsiColor getColor()
-
build
@NonNull public OutputStream build(@NonNull OutputStream delegate)
-
-