Class PlanetResource

  • All Implemented Interfaces:
    org.apache.sling.api.adapter.Adaptable, org.apache.sling.api.resource.Resource

    @Adaptable(adaptableClass=org.apache.sling.api.resource.Resource.class,
               adapters=@Adapter(org.apache.sling.api.resource.ValueMap.class))
    public class PlanetResource
    extends org.apache.sling.api.resource.AbstractResource
    implements org.apache.sling.api.resource.Resource
    A Sling Resource that represents a planet
    • Method Detail

      • getPath

        public String getPath()
        Specified by:
        getPath in interface org.apache.sling.api.resource.Resource
      • getResourceMetadata

        public org.apache.sling.api.resource.ResourceMetadata getResourceMetadata()
        Specified by:
        getResourceMetadata in interface org.apache.sling.api.resource.Resource
      • getResourceResolver

        public org.apache.sling.api.resource.ResourceResolver getResourceResolver()
        Specified by:
        getResourceResolver in interface org.apache.sling.api.resource.Resource
      • getResourceSuperType

        public String getResourceSuperType()
        Specified by:
        getResourceSuperType in interface org.apache.sling.api.resource.Resource
      • getResourceType

        public String getResourceType()
        Specified by:
        getResourceType in interface org.apache.sling.api.resource.Resource
      • adaptTo

        public <AdapterType> AdapterType adaptTo​(Class<AdapterType> type)
        Specified by:
        adaptTo in interface org.apache.sling.api.adapter.Adaptable
        Overrides:
        adaptTo in class org.apache.sling.api.adapter.SlingAdaptable