类 StackId

java.lang.Object
cn.taketoday.buildpack.platform.build.StackId

class StackId extends Object
A Stack ID.
从以下版本开始:
4.0
作者:
Phillip Webb, Andy Wilkinson, Harry Yang
  • 字段详细资料

  • 构造器详细资料

    • StackId

      StackId(String value)
  • 方法详细资料

    • equals

      public boolean equals(Object obj)
      覆盖:
      equals 在类中 Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object
    • fromImage

      static StackId fromImage(Image image)
      Factory method to create a StackId from an Image.
      参数:
      image - the source image
      返回:
      the extracted stack ID
    • fromImageConfig

      private static StackId fromImageConfig(ImageConfig imageConfig)
      Factory method to create a StackId from an ImageConfig.
      参数:
      imageConfig - the source image config
      返回:
      the extracted stack ID
    • of

      static StackId of(String value)
      Factory method to create a StackId with a given value.
      参数:
      value - the stack ID value
      返回:
      a new stack ID instance