Package org.graylog.plugins.views.migrations.V20191125144500_MigrateDashboardsToViewsSupport.viewwidgets
Class TimeUnitInterval
java.lang.Object
org.graylog.plugins.views.migrations.V20191125144500_MigrateDashboardsToViewsSupport.viewwidgets.TimeUnitInterval
- All Implemented Interfaces:
Interval
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enum -
Field Summary
FieldsFields inherited from interface org.graylog.plugins.views.migrations.V20191125144500_MigrateDashboardsToViewsSupport.viewwidgets.Interval
TYPE_FIELD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TimeUnitIntervalcreate(TimeUnitInterval.IntervalUnit unit, int value) abstract Stringtype()abstract TimeUnitInterval.IntervalUnitunit()abstract intvalue()
-
Field Details
-
type
- See Also:
-
-
Constructor Details
-
TimeUnitInterval
public TimeUnitInterval()
-
-
Method Details
-
type
-
value
public abstract int value() -
unit
-
toBucketInterval
- Specified by:
toBucketIntervalin interfaceInterval
-
create
-