Package ghidra.program.database.sourcemap

# Enum Class SourceFileIdType

java.lang.Object
java.lang.Enum<SourceFileIdType>
ghidra.program.database.sourcemap.SourceFileIdType

All Implemented Interfaces:
  `Serializable`, `Comparable<SourceFileIdType>`, `Constable`

public enum SourceFileIdType extends Enum<SourceFileIdType>
An enum whose values represent source file id types, such as md5 or sha1.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class java.lang.Enum

  `Enum.EnumDesc<E extends Enum<E>>`

- ## Enum Constant Summary

  Enum Constants
  Enum Constant
  Description
  `MD5`
  `NONE`
  `SHA1`
  `SHA256`
  `SHA512`
  `TIMESTAMP_64`
  `UNKNOWN`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `MAX_LENGTH`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getByteLength()`
  Returns the byte length of the corresponding identifier.
  `static SourceFileIdType`
  `valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static SourceFileIdType[]`
  `values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

  ### Methods inherited from class java.lang.Enum

  `clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### Methods inherited from class java.lang.Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## Enum Constant Details

  - ### NONE

    public static final SourceFileIdType NONE

  - ### UNKNOWN

    public static final SourceFileIdType UNKNOWN

  - ### TIMESTAMP_64

    public static final SourceFileIdType TIMESTAMP_64

  - ### MD5

    public static final SourceFileIdType MD5

  - ### SHA1

    public static final SourceFileIdType SHA1

  - ### SHA256

    public static final SourceFileIdType SHA256

  - ### SHA512

    public static final SourceFileIdType SHA512

- ## Field Details

  - ### MAX_LENGTH

    public static final int MAX_LENGTH
    See Also:
      - Constant Field Values

- ## Method Details

  - ### values

    public static SourceFileIdType[] 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 SourceFileIdType 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

  - ### getByteLength

    public int getByteLength()
    Returns the byte length of the corresponding identifier. A value of 0 indicates no restriction.
    Returns:
      byte length of identifier