Class DeployConfig

  • Direct Known Subclasses:
    PortletDeployConfig

    @Deprecated
    public class DeployConfig
    extends Object
    Deprecated.
    Since 5.0.0 the use of IPortalDeployer has been deprecated.
    Configuration for the deployment of a portal resource.
    Since:
    4.0.7
    Version:
    $Revision: 10825 $ $Date: 2009-08-04 12:36:40 -0300 (Tue, 04 Aug 2009) $
    • Field Detail

      • TYPE_ADD

        public static final int TYPE_ADD
        Deprecated.
        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
        Deprecated.
        Type that indicates this deployment is updating an existing context.
        Since:
        4.0.7
        See Also:
        Constant Field Values
    • Constructor Detail

      • DeployConfig

        public DeployConfig()
        Deprecated.
    • Method Detail

      • getDeployFile

        public ZipFile getDeployFile()
        Deprecated.
        Returns the file to be deployed.
        Returns:
        the file to be deployed.
        Since:
        4.0.7
      • setDeployFile

        public void setDeployFile​(ZipFile deployFile)
        Deprecated.
        Sets the file to be deployed.
        Parameters:
        deployFile - the file to be deployed.
        Since:
        4.0.7
      • getContextPath

        public String getContextPath()
        Deprecated.
        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)
        Deprecated.
        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()
        Deprecated.
        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)
        Deprecated.
        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