Class DeployTask

  • All Implemented Interfaces:

    public class DeployTask
    extends AbstractCatalinaCommandTask
    Ant task that implements the /deploy command, supported by the Tomcat manager application.
    Craig R. McClanahan
    • Field Detail

      • config

        protected java.lang.String config
        URL of the context configuration file for this application, if any.
      • localWar

        protected java.lang.String localWar
        URL of the server local web application archive (WAR) file to be deployed.
      • tag

        protected java.lang.String tag
        Tag to associate with this to be deployed webapp.
      • update

        protected boolean update
        Update existing webapps.
      • war

        protected java.lang.String war
        URL of the web application archive (WAR) file to be deployed.
    • Constructor Detail

      • DeployTask

        public DeployTask()
    • Method Detail

      • getConfig

        public java.lang.String getConfig()
      • setConfig

        public void setConfig​(java.lang.String config)
      • getLocalWar

        public java.lang.String getLocalWar()
      • setLocalWar

        public void setLocalWar​(java.lang.String localWar)
      • getTag

        public java.lang.String getTag()
      • setTag

        public void setTag​(java.lang.String tag)
      • getUpdate

        public boolean getUpdate()
      • setUpdate

        public void setUpdate​(boolean update)
      • getWar

        public java.lang.String getWar()
      • setWar

        public void setWar​(java.lang.String war)
      • execute

        public void execute()
        Execute the requested operation.
        execute in class AbstractCatalinaTask
        Throws: - if an error occurs