Enum Class ArgumentKind

java.lang.Object
java.lang.Enum<ArgumentKind>
ai.timefold.jpyinterpreter.util.arguments.ArgumentKind
All Implemented Interfaces:
Serializable, Comparable<ArgumentKind>, Constable

public enum ArgumentKind extends Enum<ArgumentKind>
  • Enum Constant Details

    • POSITIONAL_AND_KEYWORD

      public static final ArgumentKind POSITIONAL_AND_KEYWORD
    • POSITIONAL_ONLY

      public static final ArgumentKind POSITIONAL_ONLY
    • KEYWORD_ONLY

      public static final ArgumentKind KEYWORD_ONLY
    • VARARGS

      public static final ArgumentKind VARARGS
  • Method Details

    • values

      public static ArgumentKind[] 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 ArgumentKind 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
    • isAllowPositional

      public boolean isAllowPositional()
    • isAllowKeyword

      public boolean isAllowKeyword()