public enum ThrowingJobGraphWriter extends Enum<ThrowingJobGraphWriter> implements JobGraphWriter
JobGraphWriter
implementation which does not allow to store JobGraph
.Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
putJobGraph(JobGraph jobGraph)
Adds the
JobGraph instance. |
static ThrowingJobGraphWriter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThrowingJobGraphWriter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
globalCleanupAsync, localCleanupAsync
public static final ThrowingJobGraphWriter INSTANCE
public static ThrowingJobGraphWriter[] values()
for (ThrowingJobGraphWriter c : ThrowingJobGraphWriter.values()) System.out.println(c);
public static ThrowingJobGraphWriter 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 void putJobGraph(JobGraph jobGraph)
JobGraphWriter
putJobGraph
in interface JobGraphWriter
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.