public static enum TypeReader.ReadPhase extends Enum<TypeReader.ReadPhase>
Enum Constant and Description |
---|
ALL |
FOLLOWERS |
FOLLOWERS_AND_PARENTS |
LEADER_PARENTS |
LEADERS |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(TypeReader.ReaderCategory readerCategory) |
static TypeReader.ReadPhase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeReader.ReadPhase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeReader.ReadPhase ALL
public static final TypeReader.ReadPhase LEADERS
public static final TypeReader.ReadPhase FOLLOWERS
public static final TypeReader.ReadPhase LEADER_PARENTS
public static final TypeReader.ReadPhase FOLLOWERS_AND_PARENTS
public static TypeReader.ReadPhase[] values()
for (TypeReader.ReadPhase c : TypeReader.ReadPhase.values()) System.out.println(c);
public static TypeReader.ReadPhase 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 contains(TypeReader.ReaderCategory readerCategory)
Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.