public class YamlDecisionWriter extends Object implements DecisionWriter
| Constructor and Description |
|---|
YamlDecisionWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
write(Decision decision,
OutputStream outputStream)
Writes single Decision.
|
void |
writeAll(Iterable<Decision> decisions,
OutputStream outputStream)
Writes multiple decisions.
|
public void write(Decision decision, OutputStream outputStream)
DecisionWriterwrite in interface DecisionWriterdecision - to writeoutputStream - target where decision is written topublic void writeAll(Iterable<Decision> decisions, OutputStream outputStream)
DecisionWriterwriteAll in interface DecisionWriterdecisions - collection of decisions to write. Writing is performed in the order provided by IterableoutputStream - target where decisions are written toCopyright © 2019 Power Flows. All rights reserved.