@ProviderType public interface CopyMoveCommandBuilder extends CommandBuilder
Modifier and Type | Method and Description |
---|---|
CopyMoveCommandPathArgumentBuilder |
createPathArgumentBuilder() |
CopyMoveCommandBuilder |
withAssetReferenceResolver(AssetReferenceResolver assetRefResolver)
sets the reference resolver to access references
|
CopyMoveCommandBuilder |
withBeforeName(java.lang.String beforeName)
sets name of the next resource
|
CopyMoveCommandBuilder |
withCheckIntegrity(boolean integrity)
sets whether to do to integrity checking while performing the command
|
CopyMoveCommandBuilder |
withCopy(boolean copy)
sets if the command is copy command or move command
|
CopyMoveCommandBuilder |
withPathArgument(CopyMoveCommandPathArgument pathArgument)
append a path argument
|
CopyMoveCommandBuilder |
withResourceResolver(ResourceResolver resourceResolver)
initializes the
ResourceResolver for the command builder |
CopyMoveCommandBuilder |
withRetrieveAllRefs(boolean retrieveAll)
sets whether to fetch references while performing the command
|
CopyMoveCommandBuilder |
withShallow(boolean shallow)
sets whether to perform a shallow operation (this is currently only supported for pages)
|
build
@Nonnull CopyMoveCommandBuilder withResourceResolver(@Nonnull ResourceResolver resourceResolver)
ResourceResolver
for the command builderresourceResolver
- the resource resolver for the command builderCopyMoveCommandBuilder
@Nonnull CopyMoveCommandBuilder withAssetReferenceResolver(@Nonnull AssetReferenceResolver assetRefResolver)
assetRefResolver
- the AssetReferenceResolver
to get referencesCopyMoveCommandBuilder
@Nonnull CopyMoveCommandBuilder withCopy(boolean copy)
copy
- true if copy command, false if move commandCopyMoveCommandBuilder
@Nonnull CopyMoveCommandBuilder withBeforeName(@Nullable java.lang.String beforeName)
beforeName
- the name of the next resource. if null the resource is ordered at the end.CopyMoveCommandBuilder
@Nonnull CopyMoveCommandBuilder withShallow(boolean shallow)
shallow
- if true only the resource content is moved.CopyMoveCommandBuilder
@Nonnull CopyMoveCommandBuilder withCheckIntegrity(boolean integrity)
integrity
- if true it is checked if the pages on the src paths can
be moved to the destinations without conflicting the
integrity. the integrity is conflicted if
CopyMoveCommandBuilder
@Nonnull CopyMoveCommandBuilder withRetrieveAllRefs(boolean retrieveAll)
retrieveAll
- if true, fetch references on server ideally when the number of items is very large.CopyMoveCommandBuilder
@Nonnull CopyMoveCommandPathArgumentBuilder createPathArgumentBuilder()
@Nonnull CopyMoveCommandBuilder withPathArgument(@Nonnull CopyMoveCommandPathArgument pathArgument)
pathArgument
- the path argument instanceCopyMoveCommandBuilder
Copyright © 2010 - 2020 Adobe. All Rights Reserved