@PublicAPI public final class AromatizeAction extends AbstractStandardizerAction
Modifier and Type | Class and Description |
---|---|
static class |
AromatizeAction.Type
Type of aromatization
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE_KEY
Key of type for parsing and property change
|
CONFIG_PATH_KEY, FORMAT_KEY, ID_KEY, support
Constructor and Description |
---|
AromatizeAction(java.util.Map<java.lang.String,java.lang.String> params)
Initializes the action with parameters
|
Modifier and Type | Method and Description |
---|---|
AromatizeAction |
clone() |
AromatizeAction.Type |
getType()
Gets the type of aromatization
|
void |
setType(AromatizeAction.Type type)
Sets the type of aromatization
|
protected Changes |
standardize1(Molecule molecule)
This method contains the current standardization mechanism.
|
java.lang.String |
toString() |
addPropertyChangeListener, addPropertyChangeListener, cloneItem, getComponents, getDescriptor, getID, isActive, isAvailable, isLicensed, isValid, propertyChange, removePropertyChangeListener, removePropertyChangeListener, setActive, setID, setLicenseEnvironment, setValid, standardize
public static final java.lang.String TYPE_KEY
public AromatizeAction(java.util.Map<java.lang.String,java.lang.String> params)
params
- the parameters of the actionpublic void setType(AromatizeAction.Type type)
type
- the type of aromatizationpublic AromatizeAction.Type getType()
protected Changes standardize1(Molecule molecule)
AbstractStandardizerAction
RgMolecule
,
RxnMolecule
) are decomponented by the method
AbstractStandardizerAction.getComponents(Molecule)
, and AbstractStandardizerAction.standardize1(Molecule)
method is called on each component, before applied on the original
molecule. If a descendant does not want this to occur, this method must
be overridden.Logger
, that can
be collected by using StandardizerLogger.getLogger()
method.standardize1
in class AbstractStandardizerAction
molecule
- the Molecule
instance to be standardizedpublic AromatizeAction clone() throws java.lang.CloneNotSupportedException
clone
in class AbstractStandardizerAction
java.lang.CloneNotSupportedException
public java.lang.String toString()
toString
in class AbstractStandardizerAction