列挙型クラス ApplicationModule.Type

java.lang.ObjectSE
java.lang.EnumSE<ApplicationModule.Type>
org.springframework.modulith.ApplicationModule.Type
実装されたすべてのインターフェース:
SerializableSEComparableSE<ApplicationModule.Type>ConstableSE
含まれているクラス:
ApplicationModule

public static enum ApplicationModule.Type extends EnumSE<ApplicationModule.Type>
アプリケーションモジュールの種類
導入:
1.2
作成者:
Oliver Drotbohm
  • 列挙型定数の詳細

    • CLOSED

      public static final ApplicationModule.Type CLOSED
      クローズドアプリケーションモジュールは、他のモジュールに API を公開しますが、内部を非表示にすることもできます。他のモジュールからこれらの内部へのアクセスは許可されています。また、クローズドアプリケーションモジュールは、依存関係サイクルの一部であってはなりません。
      関連事項:
    • OPEN

      public static final ApplicationModule.Type OPEN
      An open application module does not hide its internals, which means that access to those from other modules is not sanctioned. They are also excluded from the cycle detection algorithm. All types contained in an open module are part of the unnamed named interface.
  • メソッドの詳細

    • values

      public static ApplicationModule.Type[] values()
      この列挙型クラスの定数を含む配列を、宣言されている順序で返します。
      戻り値:
      この列挙型クラスの定数を宣言された順序で含む配列
    • valueOf

      public static ApplicationModule.Type valueOf(StringSE name)
      指定された名前でこのクラスの列挙型定数を返します。文字列は、このクラスで列挙型定数を宣言するために使用される識別子と正確に一致する必要があります。(余分な空白文字は許可されません。)
      パラメーター:
      name - 返される列挙定数の名前。
      戻り値:
      指定された名前の列挙定数
      例外:
      IllegalArgumentExceptionSE - この列挙型クラスに指定された名前の定数がない場合
      NullPointerExceptionSE - 引数が null の場合