Class SupportedSourceAndTarget
- java.lang.Object
-
- org.alfresco.transform.client.model.config.SupportedSourceAndTarget
-
public class SupportedSourceAndTarget extends Object
Represents a single source and target combination supported by a transformer. File extensions are used to keep the json human readable. Each par also has an optional maximum size for the source content.
-
-
Constructor Summary
Constructors Constructor Description SupportedSourceAndTarget()SupportedSourceAndTarget(String sourceMediaType, String targetMediaType, long maxSourceSizeBytes)SupportedSourceAndTarget(String sourceMediaType, String targetMediaType, long maxSourceSizeBytes, int priority)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetMaxSourceSizeBytes()intgetPriority()StringgetSourceMediaType()StringgetTargetMediaType()voidsetMaxSourceSizeBytes(long maxSourceSizeBytes)voidsetPriority(int priority)voidsetSourceMediaType(String sourceMediaType)voidsetTargetMediaType(String targetMediaType)
-
-
-
Method Detail
-
getSourceMediaType
public String getSourceMediaType()
-
setSourceMediaType
public void setSourceMediaType(String sourceMediaType)
-
getMaxSourceSizeBytes
public long getMaxSourceSizeBytes()
-
setMaxSourceSizeBytes
public void setMaxSourceSizeBytes(long maxSourceSizeBytes)
-
getTargetMediaType
public String getTargetMediaType()
-
setTargetMediaType
public void setTargetMediaType(String targetMediaType)
-
getPriority
public int getPriority()
-
setPriority
public void setPriority(int priority)
-
-