saker.standard Documentation TaskDoc JavaDoc Packages
public class SakerStandardTaskUtils
Utility class providing access to build tasks in the saker.standard package.
saker.standard 0.8.3
Methods
public static TaskFactory<extends SakerPath>
Creates a task that performs mirroring for the argument path.
public static TaskIdentifier
Creates a task identifier for the mirroring task.
public static TaskFactory<extends PrepareDirectoryWorkerTaskOutput>
Creates a prepare directory worker task for the specified inputs.
public static TaskFactory<extends PrepareDirectoryWorkerTaskOutput>
createPrepareDirectoryTaskFactory(NavigableMap<SakerPath, ? extends FileLocation> inputs, boolean cleardirectory)
Creates a prepare directory worker task for the specified inputs.
public static TaskIdentifier
Creates a task identifier for the directory prepare worker task.
Creates a task that performs mirroring for the argument path.

The task should be started with the task identifier retrieved from createMirroringTaskIdentifier(SakerPath).

executionPathThe absolute execution path of the file or directory to mirror.
The task factory.
NullPointerExceptionIf the argument is null.
InvalidPathFormatExceptionIf the argument is not absolute.
Creates a task identifier for the mirroring task.
executionPathThe absolute execution path of the file or directory to mirror. This should be the same as the path passed to createMirroringTaskFactory(SakerPath).
The task factory.
NullPointerExceptionIf the argument is null.
InvalidPathFormatExceptionIf the argument is not absolute.
Creates a prepare directory worker task for the specified inputs.

Same as:

 createPrepareDirectoryTaskFactory(inputs, false)
 
inputsThe forward relative output paths mapped to their input file locations.
The worker task factory.
NullPointerExceptionIf the argument or any of the elements are null.
InvalidPathFormatExceptionIf an output path is not forward relative or has no file name.
saker.standard 0.8.4
Creates a prepare directory worker task for the specified inputs.

The task should be started with the task identifier created using createPrepareDirectoryTaskIdentifier(SakerPath).

inputsThe forward relative output paths mapped to their input file locations.
cleardirectoryWhether or not the output directory should be cleared before the files are placed in it.
The worker task factory.
NullPointerExceptionIf the argument or any of the elements are null.
InvalidPathFormatExceptionIf an output path is not forward relative or has no file name.
saker.standard 0.8.4
Creates a task identifier for the directory prepare worker task.
outputpathThe forward relative output path.
The task identifier.
NullPointerExceptionIf the argument is null.
InvalidPathFormatExceptionIf the output path is not forward relative or has no file name.
saker.standard 0.8.4