Class ResourceProviderInfo

java.lang.Object
org.apache.sling.resourceresolver.impl.providers.ResourceProviderInfo
All Implemented Interfaces:
Comparable<ResourceProviderInfo>

public class ResourceProviderInfo extends Object implements Comparable<ResourceProviderInfo>
Information about a registered resource provider
  • Constructor Details

    • ResourceProviderInfo

      public ResourceProviderInfo(org.osgi.framework.ServiceReference<ResourceProvider> ref)
  • Method Details

    • isValid

      public boolean isValid()
    • getServiceReference

      public org.osgi.framework.ServiceReference<ResourceProvider> getServiceReference()
    • getPath

      public String getPath()
    • getMode

      public ResourceProviderInfo.Mode getMode()
    • compareTo

      public int compareTo(ResourceProviderInfo o)
      Specified by:
      compareTo in interface Comparable<ResourceProviderInfo>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getAuthType

      public AuthType getAuthType()
    • isModifiable

      public boolean isModifiable()
    • isAdaptable

      public boolean isAdaptable()
    • isRefreshable

      public boolean isRefreshable()
    • isAttributable

      public boolean isAttributable()
    • getName

      public String getName()
    • getUseResourceAccessSecurity

      public boolean getUseResourceAccessSecurity()