Interface HTCapabilityManager

  • All Implemented Interfaces:

    
    public interface HTCapabilityManager<CONTAINER extends Object>
    
                        

    向きに応じたキャパビリティを取得するインターフェース

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract <T extends Any> T resolve(Direction side) 指定された引数からキャパビリティを取得します。
      abstract Boolean canHandle() このCapabilityが運用できるか判定します。
      abstract List<CONTAINER> getContainers(Direction side) 指定されたsideからCONTAINERの一覧を返します。
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • resolve

         abstract <T extends Any> T resolve(Direction side)

        指定された引数からキャパビリティを取得します。

        Parameters:
        side - アクセスする面
        Returns:

        見つからない場合はnull

      • canHandle

         abstract Boolean canHandle()

        このCapabilityが運用できるか判定します。