Package org.opennms.api.reporting
Class ReportParameterBuilder
- java.lang.Object
-
- org.opennms.api.reporting.ReportParameterBuilder
-
public class ReportParameterBuilder extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ReportParameterBuilder.Intervals
-
Constructor Summary
Constructors Constructor Description ReportParameterBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportParameters
build()
ReportParameterBuilder
withDate(String name, String interval, int count)
ReportParameterBuilder
withDate(String name, String interval, int count, int hours, int minutes)
ReportParameterBuilder
withDate(String name, Date value)
ReportParameterBuilder
withDate(String name, Date value, int hours, int minutes)
ReportParameterBuilder
withDate(String name, Date value, int hours, int minutes, boolean adjusted)
ReportParameterBuilder
withDouble(String name, Double value)
ReportParameterBuilder
withFloat(String name, Float value)
ReportParameterBuilder
withInteger(String name, Integer value)
ReportParameterBuilder
withString(String name, String value)
ReportParameterBuilder
withTimezone(String name, java.time.ZoneId zoneId)
-
-
-
Method Detail
-
withString
public ReportParameterBuilder withString(String name, String value)
-
withInteger
public ReportParameterBuilder withInteger(String name, Integer value)
-
withFloat
public ReportParameterBuilder withFloat(String name, Float value)
-
withDouble
public ReportParameterBuilder withDouble(String name, Double value)
-
withDate
public ReportParameterBuilder withDate(String name, String interval, int count)
-
withDate
public ReportParameterBuilder withDate(String name, String interval, int count, int hours, int minutes)
-
withDate
public ReportParameterBuilder withDate(String name, Date value)
-
withDate
public ReportParameterBuilder withDate(String name, Date value, int hours, int minutes)
-
withDate
public ReportParameterBuilder withDate(String name, Date value, int hours, int minutes, boolean adjusted)
-
withTimezone
public ReportParameterBuilder withTimezone(String name, java.time.ZoneId zoneId)
-
build
public ReportParameters build()
-
-