Class File
- java.lang.Object
-
- org.codehaus.cargo.util.log.LoggedObject
-
- org.codehaus.cargo.container.spi.deployable.AbstractDeployable
-
- org.codehaus.cargo.container.deployable.File
-
- All Implemented Interfaces:
Deployable
,Loggable
public class File extends AbstractDeployable
Wraps a file that will be deployed into the container. The file type can be used to deploy an generic file or directory to the containers deploy directory.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeployableType
getType()
-
Methods inherited from class org.codehaus.cargo.container.spi.deployable.AbstractDeployable
equals, getFile, getFileHandler, getFilename, getName, getVersion, hashCode, isExpanded, setFileHandler, setLogger, setVersion, toString
-
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject
getLogger
-
-
-
-
Constructor Detail
-
File
public File(String file)
Constructor.- Parameters:
file
- The file name
-
-
Method Detail
-
getType
public DeployableType getType()
- Returns:
- the deployable's type (war, ear, etc)
-
-