public final class SFTPTemplateBackend extends Object implements TemplateBackend
| Modifier and Type | Method and Description |
|---|---|
void |
createTemplate(@NotNull String group,
@NotNull String template) |
void |
deleteTemplate(@NotNull String group,
@NotNull String template) |
void |
deployTemplate(@NotNull String group,
@NotNull String template,
@NotNull Path current,
@NotNull Collection<String> collection) |
void |
downloadDirectory(String remotePath,
String localPath) |
boolean |
existsTemplate(@NotNull String group,
@NotNull String template) |
@NotNull String |
getName() |
Collection<com.jcraft.jsch.ChannelSftp.LsEntry> |
listFiles(String directory) |
static void |
load(String baseDirectory) |
@NotNull Task<Void> |
loadGlobalTemplates(@NotNull ProcessGroup group,
@NotNull Path target) |
@NotNull Task<Void> |
loadPath(@NotNull String path,
@NotNull Path target) |
@NotNull Task<Void> |
loadTemplate(@NotNull String group,
@NotNull String template,
@NotNull Path target) |
static void |
unload() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeployTemplatepublic static void load(String baseDirectory)
public static void unload()
public boolean existsTemplate(@NotNull
@NotNull String group,
@NotNull
@NotNull String template)
existsTemplate in interface TemplateBackendpublic void createTemplate(@NotNull
@NotNull String group,
@NotNull
@NotNull String template)
createTemplate in interface TemplateBackend@NotNull public @NotNull Task<Void> loadTemplate(@NotNull @NotNull String group, @NotNull @NotNull String template, @NotNull @NotNull Path target)
loadTemplate in interface TemplateBackend@NotNull public @NotNull Task<Void> loadGlobalTemplates(@NotNull @NotNull ProcessGroup group, @NotNull @NotNull Path target)
loadGlobalTemplates in interface TemplateBackend@NotNull public @NotNull Task<Void> loadPath(@NotNull @NotNull String path, @NotNull @NotNull Path target)
loadPath in interface TemplateBackendpublic void deployTemplate(@NotNull
@NotNull String group,
@NotNull
@NotNull String template,
@NotNull
@NotNull Path current,
@NotNull
@NotNull Collection<String> collection)
deployTemplate in interface TemplateBackendpublic void deleteTemplate(@NotNull
@NotNull String group,
@NotNull
@NotNull String template)
deleteTemplate in interface TemplateBackendpublic Collection<com.jcraft.jsch.ChannelSftp.LsEntry> listFiles(String directory)
Copyright © 2020. All rights reserved.