@InterfaceAudience.Public @InterfaceStability.Unstable public enum TimelineEntityType extends Enum<TimelineEntityType>
| Enum Constant and Description | 
|---|
| YARN_APPLICATION | 
| YARN_APPLICATION_ATTEMPT | 
| YARN_CLUSTER | 
| YARN_CONTAINER | 
| YARN_FLOW_ACTIVITY | 
| YARN_FLOW_RUN | 
| YARN_QUEUE | 
| YARN_USER | 
| Modifier and Type | Method and 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(String typeString)Whether the type of this entity matches the type indicated by the input
 argument. | 
| static TimelineEntityType | valueOf(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(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 boolean isParent(TimelineEntityType type)
type - entity type.public boolean isChild(TimelineEntityType type)
type - entity type.public boolean matches(String typeString)
typeString - entity type represented as a string.Copyright © 2023 Apache Software Foundation. All rights reserved.