public enum ShutdownTimeout extends Enum<ShutdownTimeout>
| Modifier and Type | Method and Description |
|---|---|
Duration |
getDuration() |
static ShutdownTimeout |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShutdownTimeout[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShutdownTimeout QUICK
public static final ShutdownTimeout DEFAULT
private final Duration duration
public static ShutdownTimeout[] values()
for (ShutdownTimeout c : ShutdownTimeout.values()) System.out.println(c);
public static ShutdownTimeout 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 Duration getDuration()
Copyright © 2022 Apache NiFi Project. All rights reserved.