Package com.inet.pdfc
Class PDFC.ComparisonParameters
java.lang.Object
com.inet.pdfc.PDFC.ComparisonParameters
- Enclosing class:
- PDFC
This class gathers the configuration parameters to run a comparison, except the files to compare.
- Since:
- i-net PDFC 4.3
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a presenter to the comparison.<T extends BasePresenter>
TgetPresenter
(Class<T> pClass) Returns a presenter that was registered for the comparison.Returns a view on the presenter to be used for the comparisonReturns the profile to be used for the comparison.Returns the root folder to store the results toReturn the settingvoid
setRootFolder
(File rootFolder) Sets the root folder for all presenters that will be created AFTER calling this method
-
Method Details
-
getProfile
Returns the profile to be used for the comparison. This instance is supposed to be updated byCommandLineParameter
- Returns:
- the profile to be used for the comparison.
-
getSettings
Return the setting- Returns:
- the setting
-
addPresenter
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
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
Returns a view on the presenter to be used for the comparison- Returns:
- an unmodifiable list with the currently configured presenters
-
getRootFolder
Returns the root folder to store the results to- Returns:
- the root folder to store the results to
-
setRootFolder
Sets the root folder for all presenters that will be created AFTER calling this method- Parameters:
rootFolder
- the root folder to be used
-