public abstract class RelativeRange extends TimeRange
| Modifier and Type | Class and Description |
|---|---|
static class |
RelativeRange.Builder |
| Constructor and Description |
|---|
RelativeRange() |
| Modifier and Type | Method and Description |
|---|---|
static RelativeRange |
allTime() |
static RelativeRange |
create(int range) |
abstract OptionalInt |
from() |
org.joda.time.DateTime |
getFrom() |
int |
getRange() |
org.joda.time.DateTime |
getTo() |
boolean |
isAllMessages() |
abstract OptionalInt |
range() |
abstract OptionalInt |
to() |
abstract String |
type() |
public static final String RELATIVE
public abstract OptionalInt range()
public abstract OptionalInt from()
public abstract OptionalInt to()
public int getRange()
public boolean isAllMessages()
public static RelativeRange create(int range) throws InvalidRangeParametersException
InvalidRangeParametersExceptionpublic static RelativeRange allTime()
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.