列挙型クラス LifecycleManagement

java.lang.ObjectSE
java.lang.EnumSE<LifecycleManagement>
org.springframework.boot.docker.compose.lifecycle.LifecycleManagement
実装されたすべてのインターフェース:
SerializableSEComparableSE<LifecycleManagement>ConstableSE

public enum LifecycleManagement extends EnumSE<LifecycleManagement>
Docker Compose ライフサイクル管理。
導入:
3.1.0
作成者:
Moritz Halbritter, Andy Wilkinson, Phillip Webb
  • 列挙型定数の詳細

    • NONE

      public static final LifecycleManagement NONE
      Docker Compose を起動または停止しないでください。
    • START_ONLY

      public static final LifecycleManagement START_ONLY
      Docker Compose が実行されていない場合は、Docker Compose を開始します。
    • START_AND_STOP

      public static final LifecycleManagement START_AND_STOP
      Docker Compose が実行されていない場合は開始し、JVM が終了したら停止します。
  • メソッドの詳細

    • values

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

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