com.github.ucchyocean.lc.command
クラス FormatCommand

java.lang.Object
  上位を拡張 com.github.ucchyocean.lc.command.SubCommandAbst
      上位を拡張 com.github.ucchyocean.lc.command.FormatCommand

public class FormatCommand
extends SubCommandAbst

formatコマンドの実行クラス

作成者:
ucchy

コンストラクタの概要
FormatCommand()
           
 
メソッドの概要
 String getCommandName()
          コマンドを取得します。
 com.github.ucchyocean.lc.command.SubCommandAbst.CommandType getCommandType()
          コマンドの種別を取得します。
 String getPermissionNode()
          パーミッションノードを取得します。
 boolean runCommand(org.bukkit.command.CommandSender sender, String label, String[] args)
          コマンドを実行します。
 void sendUsageMessage(org.bukkit.command.CommandSender sender, String label)
          使用方法に関するメッセージをsenderに送信します。
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

FormatCommand

public FormatCommand()
メソッドの詳細

getCommandName

public String getCommandName()
コマンドを取得します。

定義:
クラス SubCommandAbst 内の getCommandName
戻り値:
コマンド
関連項目:
SubCommandAbst.getCommandName()

getPermissionNode

public String getPermissionNode()
パーミッションノードを取得します。

定義:
クラス SubCommandAbst 内の getPermissionNode
戻り値:
パーミッションノード
関連項目:
SubCommandAbst.getPermissionNode()

getCommandType

public com.github.ucchyocean.lc.command.SubCommandAbst.CommandType getCommandType()
コマンドの種別を取得します。

定義:
クラス SubCommandAbst 内の getCommandType
戻り値:
コマンド種別
関連項目:
SubCommandAbst.getCommandType()

sendUsageMessage

public void sendUsageMessage(org.bukkit.command.CommandSender sender,
                             String label)
使用方法に関するメッセージをsenderに送信します。

定義:
クラス SubCommandAbst 内の sendUsageMessage
パラメータ:
sender - コマンド実行者
label - 実行ラベル
関連項目:
com.github.ucchyocean.lc.command.SubCommandAbst#sendUsageMessage()

runCommand

public boolean runCommand(org.bukkit.command.CommandSender sender,
                          String label,
                          String[] args)
コマンドを実行します。

定義:
クラス SubCommandAbst 内の runCommand
パラメータ:
sender - コマンド実行者
label - 実行ラベル
args - 実行時の引数
戻り値:
コマンドが実行されたかどうか
関連項目:
com.github.ucchyocean.lc.command.SubCommandAbst#runCommand(java.lang.String[])


Copyright © 2016. All rights reserved.