Class LongArgument

All Implemented Interfaces:
SafeOverrideable<Long,Long,Argument<Long>,Argument<?>,org.bukkit.command.CommandSender>, BukkitExecutable<Argument<Long>>, ChainableBuilder<Argument<Long>>, PlatformExecutable<Argument<Long>,org.bukkit.command.CommandSender>

public class LongArgument extends SafeOverrideableArgument<Long,Long>
An argument that represents primitive Java longs
Since:
3.0
  • Field Details

  • Constructor Details

    • LongArgument

      public LongArgument(String nodeName)
      A long argument
      Parameters:
      nodeName - the name of the node for this argument
    • LongArgument

      public LongArgument(String nodeName, long min)
      A long argument with a minimum value
      Parameters:
      nodeName - the name of the node for this argument
      min - The minimum value this argument can take (inclusive)
    • LongArgument

      public LongArgument(String nodeName, long min, long max)
      A long argument with a minimum and maximum value
      Parameters:
      nodeName - the name of the node for this argument
      min - The minimum value this argument can take (inclusive)
      max - The maximum value this argument can take (inclusive)
  • Method Details