com.xebialabs.deployit.ci
Class ImportLocation

java.lang.Object
  extended by com.xebialabs.deployit.ci.ImportLocation
All Implemented Interfaces:
hudson.model.Describable<ImportLocation>
Direct Known Subclasses:
FileSystemLocation, GeneratedLocation, URLLocation

public abstract class ImportLocation
extends java.lang.Object
implements hudson.model.Describable<ImportLocation>


Field Summary
protected  java.io.File generatedLocation
           
 
Constructor Summary
ImportLocation()
           
 
Method Summary
 void cleanup()
          You need to override this method if your import location creates temp files
abstract  java.lang.String getDarFileLocation(hudson.FilePath workspace, JenkinsDeploymentListener deploymentListener)
           
 hudson.model.Descriptor<ImportLocation> getDescriptor()
           
 void setGeneratedLocation(java.io.File generatedLocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

generatedLocation

protected java.io.File generatedLocation
Constructor Detail

ImportLocation

public ImportLocation()
Method Detail

getDescriptor

public hudson.model.Descriptor<ImportLocation> getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<ImportLocation>

getDarFileLocation

public abstract java.lang.String getDarFileLocation(hudson.FilePath workspace,
                                                    JenkinsDeploymentListener deploymentListener)

setGeneratedLocation

public void setGeneratedLocation(java.io.File generatedLocation)

cleanup

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

Throws:
java.io.IOException
java.lang.InterruptedException