public abstract class AbstractTransformationSourceOptions extends Object implements TransformationSourceOptions, Cloneable
TransformationSourceOptions.TransformationSourceOptionsSerializer| Constructor and Description |
|---|
AbstractTransformationSourceOptions() |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractTransformationSourceOptions |
clone() |
List<String> |
getApplicabledMimetypes()
Deprecated.
|
List<String> |
getApplicableMimetypes()
Gets the list of applicable mimetypes
|
boolean |
isApplicableForMimetype(String mimetype)
Gets whether or not these transformation source options apply for the
given mimetype
|
TransformationSourceOptions |
mergedOptions(TransformationSourceOptions overridingOptions)
Creates a new
TransformationSourceOptions object from this
one, merging any non-null overriding fields in the given
overridingOptions |
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 |
setApplicableMimetypes(List<String> applicableMimetypes)
Sets the list of applicable mimetypes
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSerializerpublic List<String> getApplicabledMimetypes()
TransformationSourceOptionsgetApplicabledMimetypes in interface TransformationSourceOptionspublic List<String> getApplicableMimetypes()
getApplicableMimetypes in interface TransformationSourceOptionspublic void setApplicableMimetypes(List<String> applicableMimetypes)
applicableMimetypes - the applicable mimetypespublic boolean isApplicableForMimetype(String mimetype)
isApplicableForMimetype in interface TransformationSourceOptionsmimetype - the mimetype of the sourceprotected AbstractTransformationSourceOptions clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic TransformationSourceOptions mergedOptions(TransformationSourceOptions overridingOptions)
TransformationSourceOptions object from this
one, merging any non-null overriding fields in the given
overridingOptionsmergedOptions in interface TransformationSourceOptionsoverridingOptions - TransformationSourceOptionsTransformationSourceOptions objectprotected void putParameterIfNotNull(String paramName, Serializable paramValue, Map<String,Serializable> params)
paramName - StringparamValue - SerializableCopyright © 2005–2018 Alfresco Software. All rights reserved.