com.xebialabs.deployit.ci
Class GeneratedLocation

java.lang.Object
  extended by com.xebialabs.deployit.ci.ImportLocation
      extended by com.xebialabs.deployit.ci.GeneratedLocation
All Implemented Interfaces:
hudson.model.Describable<ImportLocation>

public class GeneratedLocation
extends ImportLocation


Nested Class Summary
static class GeneratedLocation.DescriptorImpl
           
 
Field Summary
 
Fields inherited from class com.xebialabs.deployit.ci.ImportLocation
generatedLocation
 
Constructor Summary
GeneratedLocation()
           
 
Method Summary
 void cleanup()
          You need to override this method if your import location creates temp files
 java.lang.String getDarFileLocation(hudson.FilePath workspace, JenkinsDeploymentListener deploymentListener)
          For local workspace just returns the path; For remote workspace - copies dar file into local temporary location first, then returns temporary path.
 
Methods inherited from class com.xebialabs.deployit.ci.ImportLocation
getDescriptor, setGeneratedLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneratedLocation

@DataBoundConstructor
public GeneratedLocation()
Method Detail

getDarFileLocation

public java.lang.String getDarFileLocation(hudson.FilePath workspace,
                                           JenkinsDeploymentListener deploymentListener)
For local workspace just returns the path; For remote workspace - copies dar file into local temporary location first, then returns temporary path. FilePath.cleanup() method should be used to delete all temporary files.

Specified by:
getDarFileLocation in class ImportLocation

cleanup

public void cleanup()
             throws java.io.IOException,
                    java.lang.InterruptedException
Description copied from class: ImportLocation
You need to override this method if your import location creates temp files

Overrides:
cleanup in class ImportLocation
Throws:
java.io.IOException
java.lang.InterruptedException