Package com.inet.pdfc

Class PDFC.ComparisonParameters

java.lang.Object
com.inet.pdfc.PDFC.ComparisonParameters
Enclosing class:
PDFC

public class PDFC.ComparisonParameters extends Object
This class gathers the configuration parameters to run a comparison, except the files to compare.
Since:
i-net PDFC 4.3
  • Method Details

    • getProfile

      public IProfile getProfile()
      Returns the profile to be used for the comparison. This instance is supposed to be updated by CommandLineParameter
      Returns:
      the profile to be used for the comparison.
    • getSettings

      public Settings getSettings()
      Return the setting
      Returns:
      the setting
    • addPresenter

      public void addPresenter(BasePresenter p)
      Adds a presenter to the comparison. If a presenter of the exact same class is already registered, it will be replaced.
      Parameters:
      p - the parameter to add to the comparer
    • getPresenter

      public <T extends BasePresenter> T getPresenter(Class<T> pClass)
      Returns a presenter that was registered for the comparison.
      Parameters:
      pClass - the class type of the presenter to get
      Returns:
      the registered presenter or null if none is registered
    • getPresenters

      public List<BasePresenter> getPresenters()
      Returns a view on the presenter to be used for the comparison
      Returns:
      an unmodifiable list with the currently configured presenters
    • getRootFolder

      public File getRootFolder()
      Returns the root folder to store the results to
      Returns:
      the root folder to store the results to
    • setRootFolder

      public void setRootFolder(File rootFolder)
      Sets the root folder for all presenters that will be created AFTER calling this method
      Parameters:
      rootFolder - the root folder to be used