|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.cargo.util.log.LoggedObject
org.codehaus.cargo.container.spi.deployable.AbstractDeployable
public abstract class AbstractDeployable
Common class for easy Deployable implementations.
| Constructor Summary | |
|---|---|
AbstractDeployable(java.lang.String file)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getFile()
|
FileHandler |
getFileHandler()
|
void |
setFileHandler(FileHandler fileHandler)
|
| Methods inherited from class org.codehaus.cargo.util.log.LoggedObject |
|---|
getLogger, setLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.codehaus.cargo.container.deployable.Deployable |
|---|
getType |
| Methods inherited from interface org.codehaus.cargo.util.log.Loggable |
|---|
getLogger, setLogger |
| Constructor Detail |
|---|
public AbstractDeployable(java.lang.String file)
file - the location of the deploybale file being wrapped.| Method Detail |
|---|
public java.lang.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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||