public abstract class AbstractTransformationSourceOptions extends Object implements TransformationSourceOptions
TransformationSourceOptions.TransformationSourceOptionsSerializer| Constructor and Description |
|---|
AbstractTransformationSourceOptions() |
AbstractTransformationSourceOptions(AbstractTransformationSourceOptions origObject)
Constructs a field copy object from the given
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getApplicableMediaTypes()
Gets the list of applicable media types
|
boolean |
isApplicableForMediaType(String mediaType)
Gets whether or not these transformation source options apply for the
given media type
|
void |
merge(TransformationSourceOptions override) |
protected void |
putParameterIfNotNull(String paramName,
Serializable paramValue,
Map<String,Serializable> params)
Adds the given paramValue to the given params if it's not null.
|
void |
setApplicableMediaTypes(List<String> applicableMediaTypes)
Sets the list of applicable media types
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSerializerpublic AbstractTransformationSourceOptions()
public AbstractTransformationSourceOptions(AbstractTransformationSourceOptions origObject)
origObject - public void merge(TransformationSourceOptions override)
merge in interface org.gytheio.util.Mergable<TransformationSourceOptions>public List<String> getApplicableMediaTypes()
getApplicableMediaTypes in interface TransformationSourceOptionspublic void setApplicableMediaTypes(List<String> applicableMediaTypes)
applicableMimetypes - the applicable media typespublic boolean isApplicableForMediaType(String mediaType)
isApplicableForMediaType in interface TransformationSourceOptionsmediaType - the media type of the sourceprotected void putParameterIfNotNull(String paramName, Serializable paramValue, Map<String,Serializable> params)
paramName - paramValue - params - Copyright © 2018 Alfresco Software. All rights reserved.