Class ServerTask

  • All Implemented Interfaces:
    Cloneable

    public class ServerTask
    extends AbstractTask
    server operations task: start/stop/package/create/status/debug
    • Constructor Detail

      • ServerTask

        public ServerTask()
    • Method Detail

      • execute

        public void execute()
        Overrides:
        execute in class org.apache.tools.ant.Task
      • getOperation

        public String getOperation()
        Returns:
        the operation
      • setOperation

        public void setOperation​(String operation)
        Parameters:
        operation - the operation to set
      • getArchive

        public File getArchive()
        Returns:
        the archive
      • setArchive

        public void setArchive​(File archive)
        Parameters:
        archive - the archive to set
      • isClean

        public boolean isClean()
        Returns:
        the clean
      • setClean

        public void setClean​(boolean clean)
        Parameters:
        clean - the clean to set
      • getTimeout

        public String getTimeout()
        Returns:
        the timeout
      • setTimeout

        public void setTimeout​(String timeout)
        Parameters:
        timeout - the timeout to set
      • getOs

        public String getOs()
        Returns:
        the os
      • setOs

        public void setOs​(String os)
        Parameters:
        os - the os to set
      • getServerRoot

        public String getServerRoot()
        Returns:
        the serverRoot
      • setServerRoot

        public void setServerRoot​(String serverRoot)
        Parameters:
        serverRoot - the server root to set
      • getResultProperty

        public String getResultProperty()
      • setResultProperty

        public void setResultProperty​(String resultProperty)
      • getInclude

        public String getInclude()
      • setInclude

        public void setInclude​(String include)
      • getTemplate

        public String getTemplate()
      • setTemplate

        public void setTemplate​(String template)
      • isNoPassword

        public boolean isNoPassword()
        Returns:
        the noPassword setting
      • setNoPassword

        public void setNoPassword​(boolean noPassword)
        Parameters:
        noPassword - the noPassword option value to set
      • setUseEmbeddedServer

        public void setUseEmbeddedServer​(boolean useEmbeddedServer)
      • setEnvironmentVariables

        public void setEnvironmentVariables​(Map<String,​String> environmentVariables)