public class ArchiveTasks
extends java.lang.Object
| Constructor and Description | 
|---|
| ArchiveTasks() | 
| Modifier and Type | Method and Description | 
|---|---|
| static TaskFactory<?> | deploy(ResourceUtils resolver,
      java.util.Map<java.lang.String,?> props,
      java.lang.String archiveUrl,
      SshMachineLocation machine,
      java.lang.String destDir,
      boolean allowNonarchivesOrKeepArchiveAfterDeploy,
      java.lang.String optionalTmpDir,
      java.lang.String optionalDestFile)returns a task which installs and unpacks the given archive, as per  ArchiveUtils#deploy(ResourceUtils, Map, String, SshMachineLocation, String, String, String);
 if allowNonarchivesOrKeepArchiveAfterDeploy is false, this task will fail if the item is not an archive;
 in cases where the download type is not clear in the URL but is known by the caller, supply a optionalDestFile including the appropriate file extension | 
| static TaskFactory<?> | deploy(ResourceUtils optionalResolver,
      java.lang.String archiveUrl,
      SshMachineLocation machine,
      java.lang.String destDir)as  #deploy(ResourceUtils, Map, String, SshMachineLocation, String, String, String)with the most common parameters | 
public static TaskFactory<?> deploy(ResourceUtils optionalResolver, java.lang.String archiveUrl, SshMachineLocation machine, java.lang.String destDir)
#deploy(ResourceUtils, Map, String, SshMachineLocation, String, String, String) with the most common parameterspublic static TaskFactory<?> deploy(ResourceUtils resolver, java.util.Map<java.lang.String,?> props, java.lang.String archiveUrl, SshMachineLocation machine, java.lang.String destDir, boolean allowNonarchivesOrKeepArchiveAfterDeploy, java.lang.String optionalTmpDir, java.lang.String optionalDestFile)
ArchiveUtils#deploy(ResourceUtils, Map, String, SshMachineLocation, String, String, String);
 if allowNonarchivesOrKeepArchiveAfterDeploy is false, this task will fail if the item is not an archive;
 in cases where the download type is not clear in the URL but is known by the caller, supply a optionalDestFile including the appropriate file extension