Class TransformationHandlerConfigImpl
- java.lang.Object
-
- org.apache.sling.thumbnails.internal.models.TransformationHandlerConfigImpl
-
- All Implemented Interfaces:
TransformationHandlerConfig
@Model(adaptables=org.apache.sling.api.resource.Resource.class, adapters=TransformationHandlerConfig.class) public class TransformationHandlerConfigImpl extends Object implements TransformationHandlerConfig
-
-
Constructor Summary
Constructors Constructor Description TransformationHandlerConfigImpl(String handerType, Map<String,Object> properties)
TransformationHandlerConfigImpl(org.apache.sling.api.resource.Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHandlerType()
Get the hander type, generally, this will be a Sling Resource typeorg.apache.sling.api.resource.ValueMap
getProperties()
The configuration properties for the transformation hander
-
-
-
Method Detail
-
getHandlerType
public String getHandlerType()
Description copied from interface:TransformationHandlerConfig
Get the hander type, generally, this will be a Sling Resource type- Specified by:
getHandlerType
in interfaceTransformationHandlerConfig
- Returns:
- the handler type
-
getProperties
public org.apache.sling.api.resource.ValueMap getProperties()
Description copied from interface:TransformationHandlerConfig
The configuration properties for the transformation hander- Specified by:
getProperties
in interfaceTransformationHandlerConfig
- Returns:
- the configuration properties
-
-