Package org.forgerock.am.iot
Class IotPlugin
java.lang.Object
org.forgerock.openam.auth.node.api.AbstractNodeAmPlugin
org.forgerock.am.iot.IotPlugin
- All Implemented Interfaces:
AmPlugin
Installs the IoT authentication nodes and services.
-
Field Summary
Fields inherited from class org.forgerock.openam.auth.node.api.AbstractNodeAmPlugin
pluginTools -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the Map of list of node classes that the plugin is providing.The plugin version.voidThis method will be called when the version returned byAmPlugin.getPluginVersion()is higher than the version already installed.Methods inherited from class org.forgerock.openam.auth.node.api.AbstractNodeAmPlugin
getNodes, inRange, inRangeLess, onInstall, onStartup, setPluginToolsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.forgerock.openam.plugins.AmPlugin
getDependencies, getServiceSchemaXML, onAmUpgrade, onShutdown, onStartup, onUnsatisfiedDependency
-
Constructor Details
-
IotPlugin
public IotPlugin()
-
-
Method Details
-
getPluginVersion
Description copied from interface:AmPluginThe plugin version. This must be in semver (semantic version) format.- Returns:
- The version of the plugin.
- See Also:
-
upgrade
Description copied from interface:AmPluginThis method will be called when the version returned byAmPlugin.getPluginVersion()is higher than the version already installed. This method will be called before theAmPlugin.onStartup()method.- Specified by:
upgradein interfaceAmPlugin- Overrides:
upgradein classAbstractNodeAmPlugin- Parameters:
fromVersion- The old version of the plugin that has been installed.- Throws:
PluginException
-
getNodesByVersion
Description copied from class:AbstractNodeAmPluginRetrieve the Map of list of node classes that the plugin is providing. The mappings returned describe which nodes have been introduced in which version of this plugin. For example:return ImmutableMap.of( "1.0.0", asList(ChoiceCollectorNode.class), "2.0.0", asList(SetPersistentCookieNode.class));Tells that this node plugin's 1.0.0 version has introduced the ChoiceCollectorNode, the 2.0.0 version has introduced the SetPersistentCookieNode.- Overrides:
getNodesByVersionin classAbstractNodeAmPlugin- Returns:
- The list of node classes.
-