@Model(adaptables=SlingHttpServletRequest.class) public class Plugin extends AbstractResource
RESOURCE_TYPE_NON_EXISTING
Constructor and Description |
---|
Plugin() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassNames()
List of default and provided class names
|
java.lang.String |
getFeatures()
List of features provided by the current Plugin
|
java.lang.String |
getName()
Name of the plugin
|
java.lang.String |
getPath()
Returns the absolute path of this resource in the resource tree.
|
java.lang.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. |
java.lang.String |
getResourceSuperType()
Returns the super type of the resource if the resource defines its
own super type.
|
java.lang.String |
getResourceType()
The resource type is meant to point to rendering/processing scripts,
editing dialogs, etc.
|
java.lang.String |
getTitle()
Title of the plugin
|
java.lang.Boolean |
isEnabled()
Should the plugin be enabled
|
getChild, getChildren, getParent, getValueMap, hasChildren, isResourceType, listChildren
adaptTo, setAdapterManager, unsetAdapterManager
public java.lang.String getTitle()
public java.lang.String getPluginName()
public java.lang.String getName()
getName
in interface Resource
getName
in class AbstractResource
public java.lang.String getPath()
Resource
public java.lang.String getResourceType()
Resource
ResourceResolver
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 java.lang.String getResourceSuperType()
Resource
null
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()
Resource
ResourceMetadata
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.ResourceMetadata
public ResourceResolver getResourceResolver()
Resource
ResourceResolver
from which this resource has been
retrieved.public java.lang.String getFeatures()
public java.lang.Boolean isEnabled()
public java.lang.String getClassNames()
"Copyright © 2010 - 2019 Adobe Systems Incorporated. All Rights Reserved"