org.codehaus.cargo.container.deployable
Class File

java.lang.Object
  extended by org.codehaus.cargo.util.log.LoggedObject
      extended by org.codehaus.cargo.container.spi.deployable.AbstractDeployable
          extended by 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(java.lang.String file)
          Constructor.
 
Method Summary
 DeployableType getType()
          
 
Methods inherited from class org.codehaus.cargo.container.spi.deployable.AbstractDeployable
getFile, getFileHandler, isExpanded, setFileHandler
 
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.util.log.Loggable
getLogger, setLogger
 

Constructor Detail

File

public File(java.lang.String file)
Constructor.

Parameters:
file - The file name
Method Detail

getType

public DeployableType getType()

Returns:
the deployable's type (war, ear, etc)


Copyright © 2004-2011 Codehaus. All Rights Reserved.