org.apache.cactus.integration.ant.container
Class WarDeployableFile

java.lang.Object
  extended byorg.apache.cactus.integration.ant.container.AbstractDeployableFile
      extended byorg.apache.cactus.integration.ant.container.WarDeployableFile
All Implemented Interfaces:
java.lang.Cloneable, DeployableFile

public class WarDeployableFile
extends AbstractDeployableFile
implements java.lang.Cloneable

Represents a WAR file to deploy in a container.

Since:
Cactus 1.5
Version:
$Id: WarDeployableFile.java,v 1.5 2004/02/29 10:10:41 vmassol Exp $

Constructor Summary
WarDeployableFile()
           
 
Method Summary
 boolean isEar()
          Returns whether the deployable file is an enterprise application archive (EAR).
 boolean isWar()
          Returns whether the deployable file is a web-app archive (WAR).
 
Methods inherited from class org.apache.cactus.integration.ant.container.AbstractDeployableFile
clone, getFile, getFilterRedirectorMapping, getJspRedirectorMapping, getServletRedirectorMapping, getTestContext, getWarArchive, setFile, setFilterRedirectorMapping, setJspRedirectorMapping, setServletRedirectorMapping, setTestContext, setWarArchive
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WarDeployableFile

public WarDeployableFile()
Method Detail

isWar

public final boolean isWar()
Description copied from interface: DeployableFile
Returns whether the deployable file is a web-app archive (WAR).

Specified by:
isWar in interface DeployableFile
Returns:
true if the deployable file is a WAR
See Also:
DeployableFile.isWar()

isEar

public final boolean isEar()
Description copied from interface: DeployableFile
Returns whether the deployable file is an enterprise application archive (EAR).

Specified by:
isEar in interface DeployableFile
Returns:
true if the deployable file is a EAR
See Also:
DeployableFile.isEar()


Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.