java.lang.Object
java.lang.Enum<GraphFormat>
org.variantsync.diffdetective.variation.diff.serialize.GraphFormat
All Implemented Interfaces:
Serializable, Comparable<GraphFormat>, Constable

public enum GraphFormat extends Enum<GraphFormat>
Refers to the structure that is represented by a VariationDiff. For some purposes, certain diff graphs might also be represented as a VariationDiff with an artificial root.
  • Enum Constant Details

    • DIFFGRAPH

      public static final GraphFormat DIFFGRAPH
      A diffgraph has no explicit root.
    • VARIATION_DIFF

      public static final GraphFormat VARIATION_DIFF
      Default value. Describes a VariationDiff that does not model anything other than a VariationDiff.
  • Constructor Details

    • GraphFormat

      private GraphFormat()
  • Method Details

    • values

      public static GraphFormat[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GraphFormat valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null