Class JobResolutionProperties.DefaultImage

java.lang.Object
com.netflix.genie.web.properties.JobResolutionProperties.DefaultImage
Enclosing class:
JobResolutionProperties

public static class JobResolutionProperties.DefaultImage extends Object
Defaults for container images that will combine together to execute the Genie job.
  • Constructor Details

    • DefaultImage

      public DefaultImage()
      Constructor.
  • Method Details

    • getName

      public Optional<String> getName()
      Get the name of the image if one was set.
      Returns:
      The name or Optional.empty()
    • setName

      public void setName(@Nullable String name)
      Set the new name of the image.
      Parameters:
      name - The name or null
    • getTag

      public Optional<String> getTag()
      Get the tag for the image that should be used if one was set.
      Returns:
      The tag or Optional.empty()
    • setTag

      public void setTag(@Nullable String tag)
      Set the new tag for the image.
      Parameters:
      tag - The tag or null
    • getArguments

      public List<String> getArguments()
      Get the list of arguments that should be used when launching the image.
      Returns:
      The list of arguments as unmodifiable list. Attempts to modify will throw exception.
    • setArguments

      public void setArguments(@Nullable List<String> arguments)
      Set the arguments for the image.
      Parameters:
      arguments - The new arguments. null will set the arguments to an empty list.