Class JobResolutionProperties.DefaultImage

  • Enclosing class:
    JobResolutionProperties

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

      Constructors 
      Constructor Description
      DefaultImage()
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getArguments()
      Get the list of arguments that should be used when launching the image.
      java.util.Optional<java.lang.String> getName()
      Get the name of the image if one was set.
      java.util.Optional<java.lang.String> getTag()
      Get the tag for the image that should be used if one was set.
      void setArguments​(java.util.List<java.lang.String> arguments)
      Set the arguments for the image.
      void setName​(java.lang.String name)
      Set the new name of the image.
      void setTag​(java.lang.String tag)
      Set the new tag for the image.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultImage

        public DefaultImage()
        Constructor.
    • Method Detail

      • getName

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

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

        public java.util.Optional<java.lang.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
                           java.lang.String tag)
        Set the new tag for the image.
        Parameters:
        tag - The tag or null
      • getArguments

        public java.util.List<java.lang.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
                                 java.util.List<java.lang.String> arguments)
        Set the arguments for the image.
        Parameters:
        arguments - The new arguments. null will set the arguments to an empty list.