lumis.portal.deployment
Class DeployConfig

Package class diagram package DeployConfig
java.lang.Object
  extended by lumis.portal.deployment.DeployConfig
Direct Known Subclasses:
PortletDeployConfig

@StableMinor(version="4.1",
             sinceVersion="4.0")
public class DeployConfig
extends Object

Configuration for the deployment of a portal resource.

Since:
4.0.7

Field Summary
static int TYPE_ADD
          Type that indicates this deployment is adding a new context.
static int TYPE_UPDATE
          Type that indicates this deployment is updating an existing context.
 
Constructor Summary
DeployConfig()
           
 
Method Summary
 String getContextPath()
          Returns the context path where the war is to be deployed into.
 ZipFile getDeployFile()
          Returns the file to be deployed.
 int getType()
          Returns the type of this deployment.
 void setContextPath(String contextPath)
          Sets the context path where the war is to be deployed into.
 void setDeployFile(ZipFile deployFile)
          Sets the file to be deployed.
 void setType(int type)
          Sets the type of this deployment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_ADD

public static final int TYPE_ADD
Type that indicates this deployment is adding a new context.

Since:
4.0.7
See Also:
Constant Field Values

TYPE_UPDATE

public static final int TYPE_UPDATE
Type that indicates this deployment is updating an existing context.

Since:
4.0.7
See Also:
Constant Field Values
Constructor Detail

DeployConfig

public DeployConfig()
Method Detail

getDeployFile

public ZipFile getDeployFile()
Returns the file to be deployed.

Returns:
the file to be deployed.
Since:
4.0.7

setDeployFile

public void setDeployFile(ZipFile deployFile)
Sets the file to be deployed.

Parameters:
deployFile - the file to be deployed.
Since:
4.0.7

getContextPath

public String getContextPath()
Returns the context path where the war is to be deployed into.

Returns:
the context path where the war is to be deployed into.
Since:
4.0.7
See Also:
setContextPath(String)

setContextPath

public void setContextPath(String contextPath)
Sets the context path where the war is to be deployed into. Must start with a '/'. Root context is not supported.

Parameters:
contextPath - the context path.
Since:
4.0.7

getType

public int getType()
Returns the type of this deployment.

Returns:
the type of this deployment.
Since:
4.0.7
See Also:
TYPE_ADD, TYPE_UPDATE

setType

public void setType(int type)
Sets the type of this deployment.

Parameters:
type - the type value to set. Use one of the TYPE constants in this class.
Since:
4.0.7
See Also:
TYPE_ADD, TYPE_UPDATE


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.