org.codehaus.cargo.container.deployable
Class RAR

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

public class RAR
extends AbstractDeployable

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

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

Constructor Summary
RAR(java.lang.String rar)
          
 
Method Summary
 DeployableType getType()
          
 boolean isExpandedRar()
          Return whether the RAR 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

RAR

public RAR(java.lang.String rar)

See Also:
AbstractDeployable.AbstractDeployable(String)
Method Detail

getType

public DeployableType getType()

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

isExpandedRar

public boolean isExpandedRar()
Return whether the RAR is exploded or not.

Returns:
true if the rar is a directory


Copyright © 2004-2011 Codehaus. All Rights Reserved.