org.codehaus.cargo.container.deployable
Class SAR

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.SAR
All Implemented Interfaces:
Deployable, Loggable

public class SAR
extends AbstractDeployable

Wraps an SAR file that will be deployed in the container.

Version:
$Id: SAR.java 1705 2008-09-02 13:14:55Z adriana $

Constructor Summary
SAR(String sar)
          
 
Method Summary
 DeployableType getType()
          
 boolean isExpandedSar()
          Return whether the SAR is exploded or not.
 
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

SAR

public SAR(String sar)

See Also:
AbstractDeployable.AbstractDeployable(String)
Method Detail

getType

public DeployableType getType()

Returns:
the deployable's type (war, ear, etc)
See Also:
Deployable.getType()

isExpandedSar

public boolean isExpandedSar()
Return whether the SAR is exploded or not.

Returns:
true if the sar is a directory


Copyright © 2004-2012 Codehaus. All Rights Reserved.