public abstract class FingerprintPlugin extends Object
Constructor and Description |
---|
FingerprintPlugin() |
Modifier and Type | Method and Description |
---|---|
abstract void |
execute(FingerprintContext context)
Executes the plugin.
|
protected String |
getConfiguration(String name)
Gets a configuration property that must exist or an exception will be
thrown.
|
protected String |
getConfiguration(String name,
String defaultValue)
Gets a configuration property with a defaulted value.
|
protected String |
getName()
Returns the name of the plugin.
|
protected void |
setConfiguration(Map config)
Sets the plugin configuration.
|
protected final String getName()
protected void setConfiguration(Map config)
config
- the configurationprotected String getConfiguration(String name, String defaultValue)
name
- the name of the configuration propertydefaultValue
- the default value to return if the configuration
property is not setprotected String getConfiguration(String name)
name
- the configuration property nameRuntimeException
- id the configuration property is not setpublic abstract void execute(FingerprintContext context) throws Exception
context
- the contextException
- if the operation failsCopyright © 2023. All rights reserved.