Class CommandParameter

java.lang.Object
kboyle.oktane.core.module.CommandParameter

public final class CommandParameter extends Object
Represents a parameter of a command.
  • Field Details

    • name

      public final String name
    • type

      public final Class<?> type
    • description

      public final Optional<String> description
    • remainder

      public final boolean remainder
    • parser

      public final TypeParser<?> parser
    • command

      public final Command command
    • optional

      public final boolean optional
    • defaultValue

      public final Optional<String> defaultValue
    • originalParameter

      public final Optional<Parameter> originalParameter
    • preconditions

      public final com.google.common.collect.ImmutableList<Precondition> preconditions
  • Method Details