Package Torello.Java.Build
Class CloudSyncGSUTIL
- java.lang.Object
-
- Torello.Java.Build.CloudSync
-
- Torello.Java.Build.CloudSyncGSUTIL
-
public class CloudSyncGSUTIL extends CloudSync
An implementation of theCloudSync
Java-Interface that utilizes the Google-Provided Python Based Tool known as'GSUTIL'
(see:GSUTIL
).
I have used this infernal thing, everyday, for 6 years (GSUTIL, that is)
Hi-Lited Source-Code:- View Here: Torello/Java/Build/CloudSyncGSUTIL.java
- Open New Browser-Tab: Torello/Java/Build/CloudSyncGSUTIL.java
File Size: 12,224 Bytes Line Count: 271 '\n' Characters Found
-
-
Field Summary
Google Cloud Platform Storage-Bucket Directory-Name Modifier and Type Field String
CODE_DRIVE_BACKUP_FILE_START
-
Fields inherited from class Torello.Java.Build.CloudSync
allowPartialBuilds, cloudRootStorageDir, includeSetMaxAgeBuilds, nickName, shouldRunMakePublic, shouldSyncMainTarGzFile
-
-
Constructor Summary
Constructors Constructor Description CloudSyncGSUTIL(String GOOGLE_STORAGE_DIR, String BACKUP_TAR_FILE_GCS_DIR, boolean shouldRunMakePublic, boolean allowPartialBuilds, boolean includeSetMaxAgeOption, String nickName)
Constructs an instance of theGSUTIL
-based Cloud-Synchroniztion Class (this class).
-
Method Summary
Stage 5 Synchronization: Transfer all Java-Doc Files Modifier and Type Method OSResponse
copyJavaDocDirToCloudDir()
OSResponse
makePublicJavaDocDir()
OSResponse
removeCloudJavaDocDir()
Stage 5 Synchronization: Transfer only Specific Package's Java-Doc Files Modifier and Type Method OSResponse
copyOtherPackageDirsToCloudDir(OSExtras ose, Vector<String> copyDirs, String pkgRootCloudStorageDir)
OSResponse
copySingleJDPackageToCloud(String pkgRootLocalDir, String pkgRootCloudStorageDir)
OSResponse
makePublicDirArr(String[] dirArr)
Stage 6 Synchronization: Transfer '.tar' & '.jar' Files Modifier and Type Method OSResponse
backupMainTarGzFile()
OSResponse
copyJDTarAndJarToCloud()
OSResponse
makeJDTarAndJarPublic()
Stage 7 Synchronization: Transfer all Log-Files Modifier and Type Method OSResponse
copyLogDirToCloud()
OSResponse
makeLogsPublic()
OSResponse
setCloudLogsContentType()
Stage 8 Synchronization: Set Browser-Cache Meta-Data Modifier and Type Method OSResponse
setMaxAgeAll()
OSResponse
setMaxAgeSome()
Protected, Internal Methods Modifier and Type Method protected void
endStage()
protected void
initStage(Appendable a1, Appendable a2)
protected void
initStageLogSync()
-