Enum Class Restriction

java.lang.Object
java.lang.Enum<Restriction>
org.hyperledger.besu.plugin.data.Restriction
All Implemented Interfaces:
Serializable, Comparable<Restriction>, Constable

@Deprecated(forRemoval=true) public enum Restriction extends Enum<Restriction>
Deprecated, for removal: This API element is subject to removal in a future version.
This type is scheduled for removal in a future release, with no replacement. It belonged to the private transaction API removed in Besu 25.6.0 and is no longer reachable from any plugin contract.
The enum Restriction.
  • Nested Class Summary

    Nested classes/interfaces inherited from class Enum

    Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Restricted restriction.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Unrestricted restriction.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Unsupported restriction.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.tuweni.bytes.Bytes
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets bytes.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the enum constant of this class with the specified name.
    static Restriction[]
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • RESTRICTED

      public static final Restriction RESTRICTED
      Deprecated, for removal: This API element is subject to removal in a future version.
      Restricted restriction.
    • UNRESTRICTED

      public static final Restriction UNRESTRICTED
      Deprecated, for removal: This API element is subject to removal in a future version.
      Unrestricted restriction.
    • UNSUPPORTED

      public static final Restriction UNSUPPORTED
      Deprecated, for removal: This API element is subject to removal in a future version.
      Unsupported restriction.
  • Method Details

    • values

      public static Restriction[] values()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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 Restriction valueOf(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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
    • getBytes

      public org.apache.tuweni.bytes.Bytes getBytes()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets bytes.
      Returns:
      the bytes