public interface IConsolePrinter
Modifier and Type | Method and Description |
---|---|
String |
getColoredError(String error) |
String |
getColoredKey(String key) |
String |
getColoredValue(String value)
Some values are special : ACTIVE STOPPED VALID RED etc ..
|
String |
getColoredWarning(String warning) |
void |
print(IPrinterPojo pojo)
print a pojo
|
void |
print(List<IPrinterPojo> pojos)
Print a list of pojos.
|
void |
println(String... input)
Simply print out the strings
|
void |
printWithPadding(String left,
String right)
Print with padding.
|
String |
right() |
String right()
String getColoredKey(String key)
key
- a key for some valueString getColoredWarning(String warning)
warning
- an input stringString getColoredError(String error)
error
- an input stringString getColoredValue(String value)
value
- an input string that is known to the punch.void print(List<IPrinterPojo> pojos)
pojos
- void print(IPrinterPojo pojo)
pojo
- void printWithPadding(String left, String right)
left
- right
- void println(String... input)
input
- Copyright © 2014–2022. All rights reserved.