Class AbstractRestHeritrixController

    • Field Detail

      • h3wrapper

        protected org.netarchivesuite.heritrix3wrapper.Heritrix3Wrapper h3wrapper
      • h3launcher

        protected org.netarchivesuite.heritrix3wrapper.CommandLauncher h3launcher
      • h3handler

        protected org.netarchivesuite.heritrix3wrapper.LaunchResultHandlerAbstract h3handler
    • Method Detail

      • getGuiPort

        protected int getGuiPort()
        Returns:
        the HTTP port used by the Heritrix3 GUI.
      • getHostName

        protected java.lang.String getHostName()
        Returns:
        the host name
      • getHeritrixAdminName

        protected java.lang.String getHeritrixAdminName()
        Get the login name for accessing the Heritrix3 GUI. This name can be set in the settings.xml file.
        Returns:
        Name to use for accessing Heritrix3 web GUI
      • getHeritrixAdminPassword

        protected java.lang.String getHeritrixAdminPassword()
        Get the login password for accessing the Heritrix3 GUI. This password can be set in the settings.xml file.
        Returns:
        Password to use for accessing the Heritrix3 GUI
      • toString

        public java.lang.String toString()
        Get a string that describes the current controller in terms of job ID, harvest ID, and crawldir.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A human-readable string describing this controller.
      • getJobDescription

        protected java.lang.String getJobDescription()
        Return a human-readable description of the job. This will only be visible in the Heritrix GUI.
        Returns:
        String containing various information grabbed from HeritrixFiles.