-
- All Implemented Interfaces:
-
com.cognifide.gradle.aem.AemTask,com.cognifide.gradle.common.CommonTask,kotlin.Comparable,org.gradle.api.Task,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,org.gradle.api.plugins.ExtensionAware,org.gradle.util.Configurable
public class PackageSync extends AemDefaultTask
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PackageSync()
-
Method Summary
Modifier and Type Method Description final Unitmode(String name)final Unittransfer(String name)final Unitfilter(String path)final Unitfilter(File file)final Unitfilter(Provider<File> file)final UnitcontentDir(String rootPath)final UnitcontentDir(File dir)final UnitcontentDir(Directory dir)final Unitcleaner(Function1<Cleaner, Unit> options)final UnitvaultClient(Function1<VaultClient, Unit> options)final Unitdownloader(Function1<Downloader, Unit> options)final Unitsync()final Property<PackageSync.Mode>getMode()Determines what need to be done (content copied and clean or something else). final Property<PackageSync.Transfer>getTransfer()Determines a method of getting JCR content from remote instance. final Property<Instance>getInstance()Source instance from which JCR content will be copied. final Property<FilterFile>getFilter()Determines which content will be copied from source instance. final DirectoryPropertygetContentDir()Location of JCR content root to which content will be copied. final CleanergetCleaner()final VaultClientgetVaultClient()final DownloadergetDownloader()final AemExtensiongetAem()final CommonExtensiongetCommon()final Function0<Unit>getDoProjectEvaluated()final Function0<Unit>getDoProjectsEvaluated()final Function1<TaskExecutionGraph, Unit>getDoTaskGraphReady()final UnitsetDoProjectEvaluated(Function0<Unit> doProjectEvaluated)final UnitsetDoProjectsEvaluated(Function0<Unit> doProjectsEvaluated)final UnitsetDoTaskGraphReady(Function1<TaskExecutionGraph, Unit> doTaskGraphReady)-
Methods inherited from class org.gradle.api.DefaultTask
appendParallelSafeAction, assertDynamicObject, convertClosureToAction, createNewOnlyIfSpec, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskExecutionAccessBroadcaster, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, isEnabled, isHasCustomActions, notifyProjectAccess, notifyTaskDependenciesAccess, prependParallelSafeAction, setImpliesSubProjects, setLoggerMessageRewriter, wrap, wrap -
Methods inherited from class com.cognifide.gradle.aem.AemDefaultTask
checkForce, projectEvaluated, projectEvaluated, projectsEvaluated, projectsEvaluated, taskGraphReady, taskGraphReady -
Methods inherited from class com.cognifide.gradle.common.CommonDefaultTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService -
Methods inherited from class kotlin.Comparable
equals, hashCode, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
contentDir
final Unit contentDir(String rootPath)
-
contentDir
final Unit contentDir(File dir)
-
contentDir
final Unit contentDir(Directory dir)
-
vaultClient
final Unit vaultClient(Function1<VaultClient, Unit> options)
-
downloader
final Unit downloader(Function1<Downloader, Unit> options)
-
getMode
final Property<PackageSync.Mode> getMode()
Determines what need to be done (content copied and clean or something else).
-
getTransfer
final Property<PackageSync.Transfer> getTransfer()
Determines a method of getting JCR content from remote instance.
-
getInstance
final Property<Instance> getInstance()
Source instance from which JCR content will be copied.
-
getFilter
final Property<FilterFile> getFilter()
Determines which content will be copied from source instance.
-
getContentDir
final DirectoryProperty getContentDir()
Location of JCR content root to which content will be copied.
-
getCleaner
@Internal() final Cleaner getCleaner()
-
getVaultClient
@Internal() final VaultClient getVaultClient()
-
getDownloader
@Internal() final Downloader getDownloader()
-
getAem
final AemExtension getAem()
-
getCommon
final CommonExtension getCommon()
-
getDoProjectEvaluated
final Function0<Unit> getDoProjectEvaluated()
-
getDoProjectsEvaluated
final Function0<Unit> getDoProjectsEvaluated()
-
getDoTaskGraphReady
final Function1<TaskExecutionGraph, Unit> getDoTaskGraphReady()
-
setDoProjectEvaluated
final Unit setDoProjectEvaluated(Function0<Unit> doProjectEvaluated)
-
setDoProjectsEvaluated
final Unit setDoProjectsEvaluated(Function0<Unit> doProjectsEvaluated)
-
setDoTaskGraphReady
final Unit setDoTaskGraphReady(Function1<TaskExecutionGraph, Unit> doTaskGraphReady)
-
-
-
-