当前位置: 首页>>代码示例>>Java>>正文


Java EParentCommand类代码示例

本文整理汇总了Java中fr.evercraft.everapi.plugin.command.EParentCommand的典型用法代码示例。如果您正苦于以下问题:Java EParentCommand类的具体用法?Java EParentCommand怎么用?Java EParentCommand使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


EParentCommand类属于fr.evercraft.everapi.plugin.command包,在下文中一共展示了EParentCommand类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: EPGroup

import fr.evercraft.everapi.plugin.command.EParentCommand; //导入依赖的package包/类
public EPGroup(final EverPermissions plugin, final EParentCommand<EverPermissions> command) {
super(plugin, command, "group");

this.info = new EPGroupInfo(this.plugin, this);
new EPGroupCreate(this.plugin, this);
new EPGroupRemove(this.plugin, this);
new EPGroupDefault(this.plugin, this);
new EPGroupList(this.plugin, this);
new EPGroupTypes(this.plugin, this);
new EPGroupRename(this.plugin, this);
new EPGroupVerbose(this.plugin, this);

new EPGroupPermission(this.plugin, this);
new EPGroupOption(this.plugin, this);
new EPGroupInheritance(this.plugin, this);
  }
 
开发者ID:EverCraft,项目名称:EverPermissions,代码行数:17,代码来源:EPGroup.java

示例2: EPGroupCreate

import fr.evercraft.everapi.plugin.command.EParentCommand; //导入依赖的package包/类
public EPGroupCreate(final EverPermissions plugin, final EParentCommand<EverPermissions> command) {
    super(plugin, command, "create");
    
    this.pattern = Args.builder()
    		.value(Args.MARKER_WORLD, 
					(source, args) -> this.plugin.getService().getGroupSubjects().getWorlds(),
					(source, args) -> args.getArgs().size() <= 1)
			.arg((source, args) -> Arrays.asList("name..."));
}
 
开发者ID:EverCraft,项目名称:EverPermissions,代码行数:10,代码来源:EPGroupCreate.java

示例3: EPUser

import fr.evercraft.everapi.plugin.command.EParentCommand; //导入依赖的package包/类
public EPUser(final EverPermissions plugin, final EParentCommand<EverPermissions> command) {
super(plugin, command, "user");

this.info = new EPUserInfo(this.plugin, this);

new EPUserGroup(this.plugin, this);
new EPUserSubGroup(this.plugin, this);
new EPUserPermission(this.plugin, this);
new EPUserOption(this.plugin, this);
new EPUserClear(this.plugin, this);
new EPUserTypes(this.plugin, this);
  }
 
开发者ID:EverCraft,项目名称:EverPermissions,代码行数:13,代码来源:EPUser.java

示例4: EPCollection

import fr.evercraft.everapi.plugin.command.EParentCommand; //导入依赖的package包/类
public EPCollection(final EverPermissions plugin, final EParentCommand<EverPermissions> command) {
super(plugin, command, "collection");

this.info = new EPCollectionInfo(this.plugin, this);

new EPCollectionGroup(this.plugin, this);
new EPCollectionSubGroup(this.plugin, this);
new EPCollectionPermission(this.plugin, this);
new EPCollectionOption(this.plugin, this);
new EPCollectionClear(this.plugin, this);
new EPCollectionList(this.plugin, this);
new EPCollectionTypes(this.plugin, this);
  }
 
开发者ID:EverCraft,项目名称:EverPermissions,代码行数:14,代码来源:EPCollection.java


注:本文中的fr.evercraft.everapi.plugin.command.EParentCommand类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。