java.io.Serializable, java.lang.Comparable<TimelineEntityType>@Public @Unstable public enum TimelineEntityType extends java.lang.Enum<TimelineEntityType>
| Enum Constant | Description |
|---|---|
YARN_APPLICATION |
|
YARN_APPLICATION_ATTEMPT |
|
YARN_CLUSTER |
|
YARN_CONTAINER |
|
YARN_FLOW_ACTIVITY |
|
YARN_FLOW_RUN |
|
YARN_QUEUE |
|
YARN_USER |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isChild(TimelineEntityType type) |
Whether the input type can be a child of this entity.
|
boolean |
isParent(TimelineEntityType type) |
Whether the input type can be a parent of this entity.
|
boolean |
matches(java.lang.String typeString) |
Whether the type of this entity matches the type indicated by the input
argument.
|
static TimelineEntityType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TimelineEntityType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimelineEntityType YARN_CLUSTER
public static final TimelineEntityType YARN_FLOW_RUN
public static final TimelineEntityType YARN_APPLICATION
public static final TimelineEntityType YARN_APPLICATION_ATTEMPT
public static final TimelineEntityType YARN_CONTAINER
public static final TimelineEntityType YARN_USER
public static final TimelineEntityType YARN_QUEUE
public static final TimelineEntityType YARN_FLOW_ACTIVITY
public static TimelineEntityType[] values()
for (TimelineEntityType c : TimelineEntityType.values()) System.out.println(c);
public static TimelineEntityType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isParent(TimelineEntityType type)
type - entity type.public boolean isChild(TimelineEntityType type)
type - entity type.public boolean matches(java.lang.String typeString)
typeString - entity type represented as a string.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.