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, wait
findReferencedTouchpoints, getPluginId
public java.util.Collection<java.lang.String> getTouchpointRootComponents()
addTouchpointComponent(String, Factory)
.getTouchpointRootComponents
in interface MCMPlugin
public java.util.Collection<java.lang.String> getExperienceRootComponents()
addExperienceComponent(String, Factory)
.getExperienceRootComponents
in interface MCMPlugin
public Experience makeExperience(Resource adaptable)
MCMPlugin
com.day.cq.mcm.impl.MCMConfiguration-exampleconfig
with a property setting of:
makeExperience
in interface MCMPlugin
public Touchpoint makeTouchpoint(Resource adaptable)
MCMPlugin
makeTouchpoint
in interface MCMPlugin
public java.lang.String toString()
toString
in class java.lang.Object
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"