public abstract class AbstractDeployable extends LoggedObject implements Deployable
| Constructor and Description |
|---|
AbstractDeployable(String file) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFile() |
FileHandler |
getFileHandler() |
boolean |
isExpanded() |
void |
setFileHandler(FileHandler fileHandler) |
String |
toString() |
getLogger, setLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTypepublic AbstractDeployable(String file)
file - the location of the deploybale file being wrapped.public String getFile()
getFile in interface DeployableDeployable.getFile()public FileHandler getFileHandler()
public void setFileHandler(FileHandler fileHandler)
fileHandler - the Cargo file utility class to use. This method is useful for unit
testing with Mock objects as it can be passed a test file handler that doesn't perform any
real file action.public boolean isExpanded()
isExpanded in interface DeployableCopyright © 2004-2013 Codehaus. All Rights Reserved.