public abstract class GenieBaseTask extends java.lang.Object implements WorkflowTask
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
buildLocalFilePath(@NotBlank java.lang.String dir,
@NotBlank java.lang.String id,
@NotBlank java.lang.String filePath,
@NotNull FileType fileType,
@NotNull AdminResources adminResources)
Helper Function to fetch file to local dir.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeTask
protected java.lang.String buildLocalFilePath(@NotBlank @NotBlank java.lang.String dir, @NotBlank @NotBlank java.lang.String id, @NotBlank @NotBlank java.lang.String filePath, @NotNull @NotNull FileType fileType, @NotNull @NotNull AdminResources adminResources)
dir
- The directory where to copy the fileid
- The id to be appended to the destination pathfilePath
- Source file pathfileType
- Type of file like setup, config or dependencyadminResources
- Entity type Application, Cluster, Command or Job