public enum UnregisteredJobManagerJobMetricGroupFactory extends Enum<UnregisteredJobManagerJobMetricGroupFactory> implements JobManagerJobMetricGroupFactory
JobManagerJobMetricGroupFactory
which returns an unregistered JobManagerJobMetricGroup
.Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
JobManagerJobMetricGroup |
create(JobGraph jobGraph)
Create a new
JobManagerJobMetricGroup . |
static UnregisteredJobManagerJobMetricGroupFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnregisteredJobManagerJobMetricGroupFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnregisteredJobManagerJobMetricGroupFactory INSTANCE
public static UnregisteredJobManagerJobMetricGroupFactory[] values()
for (UnregisteredJobManagerJobMetricGroupFactory c : UnregisteredJobManagerJobMetricGroupFactory.values()) System.out.println(c);
public static UnregisteredJobManagerJobMetricGroupFactory valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic JobManagerJobMetricGroup create(@Nonnull JobGraph jobGraph)
JobManagerJobMetricGroupFactory
JobManagerJobMetricGroup
.create
in interface JobManagerJobMetricGroupFactory
jobGraph
- for which to create a new JobManagerJobMetricGroup
.JobManagerJobMetricGroup
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.