com.xebialabs.deployit.service.importer.source
Class FileSource

java.lang.Object
  extended by com.xebialabs.deployit.service.importer.source.FileSource
All Implemented Interfaces:
com.xebialabs.deployit.server.api.importer.ImportSource

public class FileSource
extends java.lang.Object
implements com.xebialabs.deployit.server.api.importer.ImportSource


Constructor Summary
FileSource(java.io.File archive, boolean tempFile)
           
FileSource(java.lang.String location, boolean tempFile)
           
 
Method Summary
 void cleanUp()
           
 java.io.File getFile()
           
 java.lang.String getLocation()
           
 boolean isTempFile()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileSource

public FileSource(java.lang.String location,
                  boolean tempFile)

FileSource

public FileSource(java.io.File archive,
                  boolean tempFile)
Method Detail

getLocation

public java.lang.String getLocation()

isTempFile

public boolean isTempFile()

getFile

public java.io.File getFile()
Specified by:
getFile in interface com.xebialabs.deployit.server.api.importer.ImportSource

cleanUp

public void cleanUp()
Specified by:
cleanUp in interface com.xebialabs.deployit.server.api.importer.ImportSource

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object