Class ContainerImage

java.lang.Object
com.netflix.genie.common.dto.ContainerImage
All Implemented Interfaces:
Serializable

public class ContainerImage extends Object implements Serializable
Representation of metadata corresponding to the container image (docker, etc.) that the job should be launched in.
Since:
4.3.0
See Also:
  • Method Details

    • getName

      public Optional<String> getName()
      Get the name of the image to use for the job if one was specified.
      Returns:
      The name or Optional.empty()
    • getTag

      public Optional<String> getTag()
      Get the tag of the image to use for the job if one was specified.
      Returns:
      The tag or Optional.empty()
    • getArguments

      public List<String> getArguments()
      Get the image arguments if any.
      Returns:
      An unmodifiable list of arguments. Any attempt to modify will throw an exception
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object