Class StartServerTask

  • All Implemented Interfaces:
    Cloneable

    public class StartServerTask
    extends TaskBase
    • Field Summary

      • Fields inherited from class org.apache.tools.ant.Task

        target, taskName, taskType, wrapper
      • Fields inherited from class org.apache.tools.ant.ProjectComponent

        description, location, project
    • Constructor Summary

      Constructors 
      Constructor Description
      StartServerTask()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()  
      void setConfigFile​(String configFile)  
      void setConfigFileReadOnly​(Boolean configFileReadOnly)  
      void setHttpPort​(int port)
      Set the default http port The default http port will be used only when a custom domain.xml isn't provided via instanceRoot or configFileURI
      void setInstallRoot​(String installRoot)  
      void setInstanceRoot​(String instanceRoot)  
      void setServerID​(String serverID)  
      • Methods inherited from class org.apache.tools.ant.Task

        bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
      • Methods inherited from class org.apache.tools.ant.ProjectComponent

        clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
    • Constructor Detail

      • StartServerTask

        public StartServerTask()
    • Method Detail

      • setServerID

        public void setServerID​(String serverID)
      • setHttpPort

        public void setHttpPort​(int port)
        Set the default http port The default http port will be used only when a custom domain.xml isn't provided via instanceRoot or configFileURI
        Parameters:
        port - default http port
      • setInstallRoot

        public void setInstallRoot​(String installRoot)
      • setInstanceRoot

        public void setInstanceRoot​(String instanceRoot)
      • setConfigFile

        public void setConfigFile​(String configFile)
      • setConfigFileReadOnly

        public void setConfigFileReadOnly​(Boolean configFileReadOnly)
      • execute

        public void execute()
                     throws org.apache.tools.ant.BuildException
        Overrides:
        execute in class org.apache.tools.ant.Task
        Throws:
        org.apache.tools.ant.BuildException