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 nullparamName - 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 nullT - paramName - defaultValue - int getIntegerParam(String key, int defaultValue)
defaultValue if the parameter value is null.key - defaultValue - Copyright © 2018 Alfresco Software. All rights reserved.