public enum GraphSONVersion extends Enum<GraphSONVersion>
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.tinkerpop.gremlin.structure.io.graphson.GraphSONModule.GraphSONModuleBuilder | getBuilder() | 
| String | getVersion() | 
| static GraphSONVersion | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static GraphSONVersion[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final GraphSONVersion V1_0
public static final GraphSONVersion V2_0
public static GraphSONVersion[] values()
for (GraphSONVersion c : GraphSONVersion.values()) System.out.println(c);
public static GraphSONVersion 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 org.apache.tinkerpop.gremlin.structure.io.graphson.GraphSONModule.GraphSONModuleBuilder getBuilder()
public String getVersion()
Copyright © 2013–2018 Apache Software Foundation. All rights reserved.