public abstract class MCMPluginAdapter extends java.lang.Object implements MCMPlugin
MCMPlugin.
Provides the root component functionality with a list of components manageable
via addExperienceComponent(String, Factory) and addTouchpointComponent(String, Factory).
You can also add only one (Experience or touchpoint), or many.| Modifier and Type | Class and Description |
|---|---|
static interface |
MCMPluginAdapter.Factory<T> |
| Constructor and Description |
|---|
MCMPluginAdapter() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<java.lang.String> |
getExperienceRootComponents()
Returns the comptypes that were registered with
addExperienceComponent(String, Factory). |
java.util.Collection<java.lang.String> |
getTouchpointRootComponents()
Returns the comptypes that were registered with
addTouchpointComponent(String, Factory). |
Experience |
makeExperience(Resource adaptable)
Should try it's best to make an experience out of the adaptable.
|
Touchpoint |
makeTouchpoint(Resource adaptable)
Should try it's best to make an experience out of the adaptable.
|
java.lang.String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitfindReferencedTouchpoints, getPluginIdpublic java.util.Collection<java.lang.String> getTouchpointRootComponents()
addTouchpointComponent(String, Factory).getTouchpointRootComponents in interface MCMPluginpublic java.util.Collection<java.lang.String> getExperienceRootComponents()
addExperienceComponent(String, Factory).getExperienceRootComponents in interface MCMPluginpublic Experience makeExperience(Resource adaptable)
MCMPlugincom.day.cq.mcm.impl.MCMConfiguration-exampleconfig
with a property setting of:
makeExperience in interface MCMPluginpublic Touchpoint makeTouchpoint(Resource adaptable)
MCMPluginmakeTouchpoint in interface MCMPluginpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2010 - 2023 Adobe. All Rights Reserved