Class ExtraDirectoriesParameters
- java.lang.Object
-
- com.google.cloud.tools.jib.gradle.ExtraDirectoriesParameters
-
public class ExtraDirectoriesParameters extends java.lang.ObjectObject inJibExtensionthat 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.voidpaths(org.gradle.api.Action<? super ExtraDirectoryParametersSpec> action)voidsetPaths(java.lang.Object paths)Sets paths.voidsetPaths(org.gradle.api.provider.Provider<java.lang.Object> paths)Sets paths, for lazy evaluation wherepathsis aProviderof a suitable object.
-
-
-
Method Detail
-
paths
public void paths(org.gradle.api.Action<? super ExtraDirectoryParametersSpec> action)
-
getPathStrings
@Input public java.util.List<java.lang.String> getPathStrings()
-
getPaths
@Internal public java.util.List<ExtraDirectoryParameters> getPaths()
-
setPaths
public void setPaths(java.lang.Object paths)
Sets paths.pathscan be any suitable object describing file paths convertible byProject.files(java.lang.Object...)(such asFile,List<File>, orList<String>).- Parameters:
paths- paths to set.
-
setPaths
public void setPaths(org.gradle.api.provider.Provider<java.lang.Object> paths)
Sets paths, for lazy evaluation wherepathsis aProviderof 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
-
-