Class MockAemDamAdapterFactory

  • All Implemented Interfaces:
    org.apache.sling.api.adapter.AdapterFactory

    @ProviderType
    public final class MockAemDamAdapterFactory
    extends java.lang.Object
    implements org.apache.sling.api.adapter.AdapterFactory
    Mock adapter factory for AEM Asset-related adaptions.
    • Field Summary

      • Fields inherited from interface org.apache.sling.api.adapter.AdapterFactory

        ADAPTABLE_CLASSES, ADAPTER_CLASSES, SERVICE_NAME
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <AdapterType>
      AdapterType
      getAdapter​(@NotNull java.lang.Object adaptable, @NotNull java.lang.Class<AdapterType> type)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MockAemDamAdapterFactory

        public MockAemDamAdapterFactory()
    • Method Detail

      • getAdapter

        @Nullable
        public <AdapterType> AdapterType getAdapter​(@NotNull
                                                    @NotNull java.lang.Object adaptable,
                                                    @NotNull
                                                    @NotNull java.lang.Class<AdapterType> type)
        Specified by:
        getAdapter in interface org.apache.sling.api.adapter.AdapterFactory