9b26f60dbf7613fa39887f266a61953fabef72fd
[controller.git] / opendaylight / md-sal / sal-rest-connector / src / main / java / org / opendaylight / controller / sal / restconf / impl / WriterParameters.java
1 package org.opendaylight.controller.sal.restconf.impl;
2
3 public class WriterParameters {
4     private final int depth;
5     private final boolean prettyPrint;
6
7     public WriterParameters(final boolean prettyPrint, final int depth) {
8         this.prettyPrint = prettyPrint;
9         this.depth = depth;
10     }
11
12     public int getDepth() {
13         return depth;
14     }
15
16     public boolean isPrettyPrint() {
17         return prettyPrint;
18     }
19 }
20