|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jfrog.build.extractor.clientConfiguration.util.spec.SpecsHelper
public class SpecsHelper
Created by diman on 24/08/2016.
| Constructor Summary | |
|---|---|
SpecsHelper(org.jfrog.build.api.util.Log log)
|
|
| Method Summary | |
|---|---|
java.util.Set<org.jfrog.build.client.DeployDetails> |
getDeployDetails(Spec uploadJson,
java.io.File workspace)
Returns Set of deploy details that represents the given spec |
java.util.Set<org.jfrog.build.client.DeployDetails> |
getDeployDetails(Spec uploadJson,
java.io.File workspace,
com.google.common.collect.ArrayListMultimap<java.lang.String,java.lang.String> buildProperties)
Returns Set of deploy details that represents the given spec |
Spec |
getDownloadUploadSpec(java.io.File downloadUploadSpecFile)
Converts File to Spec object |
Spec |
getDownloadUploadSpec(java.lang.String downloadUploadSpec)
Converts String to Spec object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpecsHelper(org.jfrog.build.api.util.Log log)
| Method Detail |
|---|
public java.util.Set<org.jfrog.build.client.DeployDetails> getDeployDetails(Spec uploadJson,
java.io.File workspace)
throws java.io.IOException,
java.security.NoSuchAlgorithmException
uploadJson - The required spec represented as Spec objectworkspace - File object that represents the workspace
java.io.IOException - Thrown if any error occurs while reading the file, calculating the
checksums or in case of any file system exception
java.security.NoSuchAlgorithmException - Thrown if any of the given algorithms aren't supported
public java.util.Set<org.jfrog.build.client.DeployDetails> getDeployDetails(Spec uploadJson,
java.io.File workspace,
com.google.common.collect.ArrayListMultimap<java.lang.String,java.lang.String> buildProperties)
throws java.io.IOException,
java.security.NoSuchAlgorithmException
uploadJson - The required spec represented as Spec objectworkspace - File object that represents the workspacebuildProperties - properties to add to all the files
java.io.IOException - Thrown if any error occurs while reading the file, calculating the
checksums or in case of any file system exception
java.security.NoSuchAlgorithmException - Thrown if any of the given algorithms aren't supported
public Spec getDownloadUploadSpec(java.io.File downloadUploadSpecFile)
throws java.io.IOException
downloadUploadSpecFile - the File to convert
java.io.IOException - in case of IO problem
public Spec getDownloadUploadSpec(java.lang.String downloadUploadSpec)
throws java.io.IOException
downloadUploadSpec - the String to convert
java.io.IOException - in case of IO problem
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||