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:
DeployableFile

public class WarDeployableFile
extends AbstractDeployableFile

Represents a WAR file to deploy in a container.

Since:
Cactus 1.5
Version:
$Id: WarDeployableFile.java,v 1.1.2.2 2003/10/25 17:22:05 vmassol Exp $
Author:
Vincent Massol

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
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).

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).

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


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