Package com.day.cq.wcm.command.api
Interface CopyMoveCommandPathArgumentBuilder
-
- All Superinterfaces:
CommandPathArgumentBuilder
@ProviderType public interface CopyMoveCommandPathArgumentBuilder extends CommandPathArgumentBuilder
interface to buildCopyMoveCommandPathArgument
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CopyMoveCommandPathArgumentBuilderwithAdjustRefPaths(java.lang.String[] adjustRefPaths)set reference paths of the selected itemCopyMoveCommandPathArgumentBuilderwithDstPath(java.lang.String dstPath)set destination path of the selected itemCopyMoveCommandPathArgumentBuilderwithPublishPaths(java.lang.String[] publishPaths)set publish paths referenced in the selected itemCopyMoveCommandPathArgumentBuilderwithSrcPath(java.lang.String srcPath)set source path of the selected item-
Methods inherited from interface com.day.cq.wcm.command.api.CommandPathArgumentBuilder
build
-
-
-
-
Method Detail
-
withSrcPath
@Nonnull CopyMoveCommandPathArgumentBuilder withSrcPath(@Nonnull java.lang.String srcPath)
set source path of the selected item- Parameters:
srcPath- path of the selected item- Returns:
- this
CopyMoveCommandPathArgumentBuilder
-
withDstPath
@Nonnull CopyMoveCommandPathArgumentBuilder withDstPath(@Nonnull java.lang.String dstPath)
set destination path of the selected item- Parameters:
dstPath- path of the selected item- Returns:
- this
CopyMoveCommandPathArgumentBuilder
-
withAdjustRefPaths
@Nonnull CopyMoveCommandPathArgumentBuilder withAdjustRefPaths(@Nullable java.lang.String[] adjustRefPaths)
set reference paths of the selected item- Parameters:
adjustRefPaths- reference paths of the selected item- Returns:
- this
CopyMoveCommandPathArgumentBuilder
-
withPublishPaths
@Nonnull CopyMoveCommandPathArgumentBuilder withPublishPaths(@Nullable java.lang.String[] publishPaths)
set publish paths referenced in the selected item- Parameters:
publishPaths- publish paths referenced in the selected item- Returns:
- this
CopyMoveCommandPathArgumentBuilder
-
-