public class DashboardConfiguration extends Object implements ResponseBody
DashboardConfigHandler
containing general configuration values such as
the time zone and the refresh interval.Modifier and Type | Class and Description |
---|---|
static class |
DashboardConfiguration.Features
Collection of features that are enabled/disabled.
|
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_FEATURE_WEB_CANCEL |
static String |
FIELD_NAME_FEATURE_WEB_HISTORY |
static String |
FIELD_NAME_FEATURE_WEB_RESCALE |
static String |
FIELD_NAME_FEATURE_WEB_SUBMIT |
static String |
FIELD_NAME_FLINK_FEATURES |
static String |
FIELD_NAME_FLINK_REVISION |
static String |
FIELD_NAME_FLINK_VERSION |
static String |
FIELD_NAME_REFRESH_INTERVAL |
static String |
FIELD_NAME_TIMEZONE_NAME |
static String |
FIELD_NAME_TIMEZONE_OFFSET |
Constructor and Description |
---|
DashboardConfiguration(long refreshInterval,
String timeZoneName,
int timeZoneOffset,
String flinkVersion,
String flinkRevision,
DashboardConfiguration.Features features) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static DashboardConfiguration |
from(long refreshInterval,
ZonedDateTime zonedDateTime,
boolean webSubmitEnabled,
boolean webCancelEnabled,
boolean webRescaleEnabled,
boolean isHistoryServer) |
DashboardConfiguration.Features |
getFeatures() |
String |
getFlinkRevision() |
String |
getFlinkVersion() |
long |
getRefreshInterval() |
String |
getTimeZoneName() |
int |
getTimeZoneOffset() |
int |
hashCode() |
public static final String FIELD_NAME_REFRESH_INTERVAL
public static final String FIELD_NAME_TIMEZONE_OFFSET
public static final String FIELD_NAME_TIMEZONE_NAME
public static final String FIELD_NAME_FLINK_VERSION
public static final String FIELD_NAME_FLINK_REVISION
public static final String FIELD_NAME_FLINK_FEATURES
public static final String FIELD_NAME_FEATURE_WEB_SUBMIT
public static final String FIELD_NAME_FEATURE_WEB_CANCEL
public static final String FIELD_NAME_FEATURE_WEB_RESCALE
public static final String FIELD_NAME_FEATURE_WEB_HISTORY
public DashboardConfiguration(long refreshInterval, String timeZoneName, int timeZoneOffset, String flinkVersion, String flinkRevision, DashboardConfiguration.Features features)
public long getRefreshInterval()
public int getTimeZoneOffset()
public String getTimeZoneName()
public String getFlinkVersion()
public String getFlinkRevision()
public DashboardConfiguration.Features getFeatures()
public static DashboardConfiguration from(long refreshInterval, ZonedDateTime zonedDateTime, boolean webSubmitEnabled, boolean webCancelEnabled, boolean webRescaleEnabled, boolean isHistoryServer)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.