public class WAR extends AbstractDeployable
| Modifier and Type | Method and Description |
|---|---|
String |
getContext() |
DeployableType |
getType() |
void |
setContext(String context) |
getFile, getFileHandler, isExpanded, setFileHandler, toStringgetLogger, setLoggerpublic 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 DeployableType getType()
Deployable.getType()Copyright © 2004-2013 Codehaus. All Rights Reserved.