Class GlobalCommandBuilder
- java.lang.Object
-
- me.s3ns3iw00.jcommands.builder.CommandBuilder<GlobalCommandBuilder>
-
- me.s3ns3iw00.jcommands.builder.type.GlobalCommandBuilder
-
public class GlobalCommandBuilder extends CommandBuilder<GlobalCommandBuilder>
Useful class that makesGlobalCommand
creations more comfortable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class me.s3ns3iw00.jcommands.builder.CommandBuilder
CommandBuilder.ConcatenatorBuilder
-
-
Constructor Summary
Constructors Constructor Description GlobalCommandBuilder(java.lang.String name, java.lang.String description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GlobalCommandBuilder
disableInDMs()
GlobalCommandBuilder
enableInDMs()
Command
getCommand()
-
Methods inherited from class me.s3ns3iw00.jcommands.builder.CommandBuilder
arguments, concatenators, onAction, permissions
-
-
-
-
Method Detail
-
enableInDMs
public GlobalCommandBuilder enableInDMs()
-
disableInDMs
public GlobalCommandBuilder disableInDMs()
-
getCommand
public Command getCommand()
- Specified by:
getCommand
in classCommandBuilder<GlobalCommandBuilder>
- Returns:
- the command itself
-
-