Class ConfigurationUtility
java.lang.Object
chemaxon.standardizer.configuration.ConfigurationUtility
Utility to manage standardizer configuration
- Since:
- 6.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated, for removal: This API element is subject to removal in a future version.It's not required anymore. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
filterGroups
(StandardizerConfiguration configuration, String[] groups) Filters the action list of a configuration to a configuration containing only the actions that are in the target groups (or in all groups).static void
setFinalClean
(StandardizerConfiguration configuration) Deprecated, for removal: This API element is subject to removal in a future version.It's not required anymore.static void
setFinalClean
(StandardizerConfiguration configuration, int dim) Deprecated, for removal: This API element is subject to removal in a future version.It's not required anymore.static void
setFinalClean
(StandardizerConfiguration configuration, int dim, boolean partial) Deprecated, for removal: This API element is subject to removal in a future version.It's not required anymore.
-
Field Details
-
FINAL_CLEAN_ID
@Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public static final String FINAL_CLEAN_IDDeprecated, for removal: This API element is subject to removal in a future version.It's not required anymore.Final clean task ID.- See Also:
-
-
Constructor Details
-
ConfigurationUtility
public ConfigurationUtility()
-
-
Method Details
-
filterGroups
Filters the action list of a configuration to a configuration containing only the actions that are in the target groups (or in all groups).- Parameters:
configuration
- the target configurationgroups
- the target groups
-
setFinalClean
@Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public static void setFinalClean(StandardizerConfiguration configuration) throws IllegalArgumentException Deprecated, for removal: This API element is subject to removal in a future version.It's not required anymore.Sets final clean task: original molecule dimension, partial, optional.- Parameters:
configuration
- the target standardizer configuration- Throws:
IllegalArgumentException
- on invalid configuration
-
setFinalClean
@Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public static void setFinalClean(StandardizerConfiguration configuration, int dim) throws IllegalArgumentException Deprecated, for removal: This API element is subject to removal in a future version.It's not required anymore.Sets final clean task: partial, target-only.- Parameters:
configuration
- the target standardizer configurationdim
- is the clean dimension, set-1
for the original molecule dimension- Throws:
IllegalArgumentException
- on invalid configuration
-
setFinalClean
@Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public static void setFinalClean(StandardizerConfiguration configuration, int dim, boolean partial) throws IllegalArgumentException Deprecated, for removal: This API element is subject to removal in a future version.It's not required anymore.Sets final clean task: target-only.- Parameters:
configuration
- the target standardizer configurationdim
- is the clean dimension, currently partial clean only works in 2D - if set to3
then full clean is performedpartial
- istrue
if only the changing atoms should be cleaned,false
if full clean is needed - if the clean dimension is different from the molecule dimension then always full clean is performed- Throws:
IllegalArgumentException
- on invalid configuration
-