Package land.oras
Class CopyUtils
java.lang.Object
land.oras.CopyUtils
Copy utility class.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic <SourceRefType extends Ref<@NonNull SourceRefType>,TargetRefType extends Ref<@NonNull TargetRefType>>
voidcopy(OCI<SourceRefType> source, SourceRefType sourceRef, OCI<TargetRefType> target, TargetRefType targetRef, boolean recursive) Deprecated, for removal: This API element is subject to removal in a future version.static <SourceRefType extends Ref<@NonNull SourceRefType>,TargetRefType extends Ref<@NonNull TargetRefType>>
voidcopy(OCI<SourceRefType> source, SourceRefType sourceRef, OCI<TargetRefType> target, TargetRefType targetRef, CopyUtils.CopyOptions options) Copy a container from source to target.
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOGThe logger
-
-
Method Details
-
copy
@Deprecated(forRemoval=true) public static <SourceRefType extends Ref<@NonNull SourceRefType>,TargetRefType extends Ref<@NonNull TargetRefType>> void copy(OCI<SourceRefType> source, SourceRefType sourceRef, OCI<TargetRefType> target, TargetRefType targetRef, boolean recursive) Deprecated, for removal: This API element is subject to removal in a future version.Usecopy(OCI, Ref, OCI, Ref, CopyOptions)instead. This method will be removed in a future release.Copy a container from source to target.- Type Parameters:
SourceRefType- The source reference typeTargetRefType- The target reference type- Parameters:
source- The source OCIsourceRef- The source referencetarget- The target OCItargetRef- The target referencerecursive- Copy refferers
-
copy
public static <SourceRefType extends Ref<@NonNull SourceRefType>,TargetRefType extends Ref<@NonNull TargetRefType>> void copy(OCI<SourceRefType> source, SourceRefType sourceRef, OCI<TargetRefType> target, TargetRefType targetRef, CopyUtils.CopyOptions options) Copy a container from source to target.- Type Parameters:
SourceRefType- The source reference typeTargetRefType- The target reference type- Parameters:
source- The source OCIsourceRef- The source referencetarget- The target OCItargetRef- The target referenceoptions- The copy option
-
copy(OCI, Ref, OCI, Ref, CopyOptions)instead.