public class WAR extends AbstractDeployable
Modifier and Type | Method and Description |
---|---|
String |
getContext() |
DeployableType |
getType() |
boolean |
isExpandedWar() |
void |
setContext(String context) |
getFile, getFileHandler, setFileHandler
public WAR(String war)
war
- the location of the WAR being wrapped. This must point to either a WAR file or an
expanded WAR directory.public void setContext(String context)
context
- the context name to use when deploying this WAR. If not specified by the user,
then the default context name is computed from the name of WAR itself (without the
file extension).public String getContext()
public boolean isExpandedWar()
public DeployableType getType()
Deployable.getType()
Copyright © 2004-2013 Codehaus. All Rights Reserved.