@InterfaceAudience.Private public enum ContainerLogsRetentionPolicy extends Enum<ContainerLogsRetentionPolicy>
| Enum Constant and Description |
|---|
ALL_CONTAINERS |
AM_AND_FAILED_CONTAINERS_ONLY |
APPLICATION_MASTER_ONLY |
| Modifier and Type | Method and Description |
|---|---|
static ContainerLogsRetentionPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContainerLogsRetentionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContainerLogsRetentionPolicy APPLICATION_MASTER_ONLY
public static final ContainerLogsRetentionPolicy AM_AND_FAILED_CONTAINERS_ONLY
public static final ContainerLogsRetentionPolicy ALL_CONTAINERS
public static ContainerLogsRetentionPolicy[] values()
for (ContainerLogsRetentionPolicy c : ContainerLogsRetentionPolicy.values()) System.out.println(c);
public static ContainerLogsRetentionPolicy 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 nullCopyright © 2018 CERN. All Rights Reserved.