@AlfrescoPublicApi
public interface SerializedTransformationOptionsAccessor
Modifier and Type | Method and Description |
---|---|
<T> T |
getCheckedParam(String paramName,
Class<T> clazz)
Gets the value for the named parameter.
|
int |
getIntegerParam(String key,
int defaultValue)
Gets the int value for the named parameter.
|
<T> T |
getParamWithDefault(String paramName,
T defaultValue)
Gets the value for the named parameter.
|
<T> T getCheckedParam(String paramName, Class<T> clazz)
null
if the parameter value is null
paramName
- the name of the parameter being checked.clazz
- the expected Class
of the parameter value.null
.<T> T getParamWithDefault(String paramName, T defaultValue)
defaultValue
and
throws a RenditionServiceException
if it isn't. Returns
defaultValue
if the parameter value is null
paramName
- Stringint getIntegerParam(String key, int defaultValue)
defaultValue
if the parameter value is null
.key
- StringdefaultValue
- intCopyright © 2005–2017 Alfresco Software. All rights reserved.