org.codehaus.cargo.container.deployable
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.
- Version:
- $Id: File.java 1705 2008-09-02 13:14:55Z adriana $
Constructor Summary |
File(String file)
Constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
File
public File(String file)
- Constructor.
- Parameters:
file
- The file name
getType
public DeployableType getType()
-
- Returns:
- the deployable's type (war, ear, etc)
Copyright © 2004-2012 Codehaus. All Rights Reserved.