Package land.oras
Class OCI.PullOptions
java.lang.Object
land.oras.OCI.PullOptions
Options controlling the behavior of
OCI.pullArtifact(T, java.nio.file.Path, land.oras.OCI.PullOptions) operations.-
Method Summary
Modifier and TypeMethodDescriptionstatic OCI.PullOptionsdefaults()Default options: do not overwrite existing files.booleanReturn whether existing files should be overwritten.static OCI.PullOptionsOptions that allow overwriting existing files when pulling.
-
Method Details
-
defaults
Default options: do not overwrite existing files.- Returns:
- The default pull options
-
overwrite
Options that allow overwriting existing files when pulling.- Returns:
- Pull options with overwrite enabled
-
isOverwrite
public boolean isOverwrite()Return whether existing files should be overwritten.- Returns:
trueif existing files should be overwritten
-