Enum DescriptorType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<DescriptorType>

    public enum DescriptorType
    extends java.lang.Enum<DescriptorType>
    • Enum Constant Detail

      • RELAY_CONSENSUSES

        public static final DescriptorType RELAY_CONSENSUSES
      • RELAY_SERVER_DESCRIPTORS

        public static final DescriptorType RELAY_SERVER_DESCRIPTORS
      • RELAY_EXTRA_INFOS

        public static final DescriptorType RELAY_EXTRA_INFOS
      • BRIDGE_SERVER_DESCRIPTORS

        public static final DescriptorType BRIDGE_SERVER_DESCRIPTORS
      • BRIDGE_EXTRA_INFOS

        public static final DescriptorType BRIDGE_EXTRA_INFOS
    • Method Detail

      • values

        public static DescriptorType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DescriptorType c : DescriptorType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DescriptorType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getDir

        public java.lang.String getDir()