Class ExtraDirectoriesParameters


  • public class ExtraDirectoriesParameters
    extends java.lang.Object
    Object in JibExtension that configures the extra directories.
    • Constructor Summary

      Constructors 
      Constructor Description
      ExtraDirectoriesParameters​(org.gradle.api.model.ObjectFactory objects, org.gradle.api.Project project)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<ExtraDirectoryParameters> getPaths()  
      java.util.List<java.lang.String> getPathStrings()  
      org.gradle.api.provider.MapProperty<java.lang.String,​java.lang.String> getPermissions()
      Gets the permissions for files in the extra layer on the container.
      void paths​(org.gradle.api.Action<? super ExtraDirectoryParametersSpec> action)  
      void setPaths​(java.lang.Object paths)
      Sets paths.
      void setPaths​(org.gradle.api.provider.Provider<java.lang.Object> paths)
      Sets paths, for lazy evaluation where paths is a Provider of a suitable object.
      • Methods inherited from class java.lang.Object

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

      • ExtraDirectoriesParameters

        @Inject
        public ExtraDirectoriesParameters​(org.gradle.api.model.ObjectFactory objects,
                                          org.gradle.api.Project project)
    • Method Detail

      • getPathStrings

        @Input
        public java.util.List<java.lang.String> getPathStrings()
      • setPaths

        public void setPaths​(java.lang.Object paths)
        Sets paths. paths can be any suitable object describing file paths convertible by Project.files(java.lang.Object...) (such as File, List<File>, or List<String>).
        Parameters:
        paths - paths to set.
      • setPaths

        public void setPaths​(org.gradle.api.provider.Provider<java.lang.Object> paths)
        Sets paths, for lazy evaluation where paths is a Provider of a suitable object.
        Parameters:
        paths - provider of paths to set
        See Also:
        setPaths(Object)
      • getPermissions

        @Input
        public org.gradle.api.provider.MapProperty<java.lang.String,​java.lang.String> getPermissions()
        Gets the permissions for files in the extra layer on the container. Maps from absolute path on the container to a 3-digit octal string representation of the file permission bits (e.g. "/path/on/container" -> "755").
        Returns:
        the permissions map from path on container to file permissions