Class DeployConfig

  • Direct Known Subclasses:
    PortletDeployConfig

    @Deprecated
    public class DeployConfig
    extends java.lang.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 Summary

      Fields 
      Modifier and Type Field Description
      static int TYPE_ADD
      Deprecated.
      Type that indicates this deployment is adding a new context.
      static int TYPE_UPDATE
      Deprecated.
      Type that indicates this deployment is updating an existing context.
    • Constructor Summary

      Constructors 
      Constructor Description
      DeployConfig()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String getContextPath()
      Deprecated.
      Returns the context path where the war is to be deployed into.
      java.util.zip.ZipFile getDeployFile()
      Deprecated.
      Returns the file to be deployed.
      int getType()
      Deprecated.
      Returns the type of this deployment.
      void setContextPath​(java.lang.String contextPath)
      Deprecated.
      Sets the context path where the war is to be deployed into.
      void setDeployFile​(java.util.zip.ZipFile deployFile)
      Deprecated.
      Sets the file to be deployed.
      void setType​(int type)
      Deprecated.
      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
        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 java.util.zip.ZipFile getDeployFile()
        Deprecated.
        Returns the file to be deployed.
        Returns:
        the file to be deployed.
        Since:
        4.0.7
      • setDeployFile

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

        public java.lang.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​(java.lang.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