Interface SerializedTransformationOptionsAccessor
- All Known Implementing Classes:
AbstractRenderingEngine.RenderingContext
Deprecated.
The transformations code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.
Defines methods for retrieving parameter values for use in building
transformation options.
- Author:
- Ray Gauss II
-
Method Summary
Modifier and TypeMethodDescription<T> TgetCheckedParam(String paramName, Class<T> clazz) Deprecated.Gets the value for the named parameter.intgetIntegerParam(String key, int defaultValue) Deprecated.Gets the int value for the named parameter.<T> TgetParamWithDefault(String paramName, T defaultValue) Deprecated.Gets the value for the named parameter.
-
Method Details
-
getCheckedParam
Deprecated.Gets the value for the named parameter. Checks the type of the parameter is correct and throws and Exception if it isn't. Returnsnullif the parameter value isnull- Parameters:
paramName- the name of the parameter being checked.clazz- the expectedClassof the parameter value.- Returns:
- the parameter value or
null.
-
getParamWithDefault
Deprecated.Gets the value for the named parameter. Checks the type of the parameter is the same as the type ofdefaultValueand throws aRenditionServiceExceptionif it isn't. ReturnsdefaultValueif the parameter value isnull- Parameters:
paramName- String
-
getIntegerParam
Deprecated.Gets the int value for the named parameter. ReturnsdefaultValueif the parameter value isnull.- Parameters:
key- StringdefaultValue- int- Returns:
- int
-