@Model(adaptables=SlingHttpServletRequest.class) public class Plugin extends AbstractResource
RESOURCE_TYPE_NON_EXISTING| Constructor and Description |
|---|
Plugin() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassNames()
List of default and provided class names
|
String |
getFeatures()
List of features provided by the current Plugin
|
String |
getName()
Name of the plugin
|
String |
getPath()
Returns the absolute path of this resource in the resource tree.
|
String |
getPluginName()
Name of the plugin
|
ResourceMetadata |
getResourceMetadata()
Returns the meta data of this resource.
|
ResourceResolver |
getResourceResolver()
Returns the
ResourceResolver from which this resource has been
retrieved. |
String |
getResourceSuperType()
Returns the super type of the resource if the resource defines its
own super type.
|
String |
getResourceType()
The resource type is meant to point to rendering/processing scripts,
editing dialogs, etc.
|
String |
getTitle()
Title of the plugin
|
Boolean |
isEnabled()
Should the plugin be enabled
|
getChild, getChildren, getParent, getValueMap, hasChildren, isResourceType, listChildrenadaptTo, setAdapterManager, unsetAdapterManagerpublic String getTitle()
public String getPluginName()
public String getName()
getName in interface ResourcegetName in class AbstractResourcepublic String getPath()
Resourcepublic String getResourceType()
ResourceResourceResolver is free to set this to any suitable value such
as the primary node type of the JCR node from which the resource is
created.
If the resource instance represents a resource which is not actually
existing, this method returns Resource.RESOURCE_TYPE_NON_EXISTING.
public String getResourceSuperType()
Resourcenull is returned.
A resource might return a resource super type to overwrite the
resource type hierarchy.
If a client is interested in the effective resource super type
of a resource, it should call ResourceResolver.getParentResourceType(Resource).null.public ResourceMetadata getResourceMetadata()
ResourceResourceMetadata object returned is implementation specific
except for the ResourceMetadata.RESOLUTION_PATH property which is
required to be set to the part of the request URI used to resolve the
resource.ResourceMetadatapublic ResourceResolver getResourceResolver()
ResourceResourceResolver from which this resource has been
retrieved.public String getFeatures()
public Boolean isEnabled()
public String getClassNames()
"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"