public enum FocusStrategy extends Enum<FocusStrategy>
| Enum Constant and Description | 
|---|
ALL
Adds all Vertices to focus. 
 | 
EMPTY
Empty focus 
 | 
FIRST
First element is added to focus. 
 | 
SPECIFIC
The provided list of IDs is added to focus. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<VertexHopCriteria> | 
getFocusCriteria(BackendGraph graph,
                String... arguments)  | 
static FocusStrategy | 
getStrategy(String input,
           FocusStrategy defaultValue)  | 
static FocusStrategy | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static FocusStrategy[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final FocusStrategy EMPTY
public static final FocusStrategy ALL
public static final FocusStrategy FIRST
public static final FocusStrategy SPECIFIC
public static FocusStrategy[] values()
for (FocusStrategy c : FocusStrategy.values()) System.out.println(c);
public static FocusStrategy 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 List<VertexHopCriteria> getFocusCriteria(BackendGraph graph, String... arguments)
public static FocusStrategy getStrategy(String input, FocusStrategy defaultValue)
Copyright © 2021. All rights reserved.