Class SupportedSourceAndTarget
- java.lang.Object
-
- org.alfresco.transform.client.model.config.SupportedSourceAndTarget
-
public class SupportedSourceAndTarget extends java.lang.ObjectRepresents 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(java.lang.String sourceMediaType, java.lang.String targetMediaType, long maxSourceSizeBytes)SupportedSourceAndTarget(java.lang.String sourceMediaType, java.lang.String targetMediaType, long maxSourceSizeBytes, int priority)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetMaxSourceSizeBytes()intgetPriority()java.lang.StringgetSourceMediaType()java.lang.StringgetTargetMediaType()voidsetMaxSourceSizeBytes(long maxSourceSizeBytes)voidsetPriority(int priority)voidsetSourceMediaType(java.lang.String sourceMediaType)voidsetTargetMediaType(java.lang.String targetMediaType)
-
-
-
Constructor Detail
-
SupportedSourceAndTarget
public SupportedSourceAndTarget()
-
SupportedSourceAndTarget
public SupportedSourceAndTarget(java.lang.String sourceMediaType, java.lang.String targetMediaType, long maxSourceSizeBytes)
-
SupportedSourceAndTarget
public SupportedSourceAndTarget(java.lang.String sourceMediaType, java.lang.String targetMediaType, long maxSourceSizeBytes, int priority)
-
-
Method Detail
-
getSourceMediaType
public java.lang.String getSourceMediaType()
-
setSourceMediaType
public void setSourceMediaType(java.lang.String sourceMediaType)
-
getMaxSourceSizeBytes
public long getMaxSourceSizeBytes()
-
setMaxSourceSizeBytes
public void setMaxSourceSizeBytes(long maxSourceSizeBytes)
-
getTargetMediaType
public java.lang.String getTargetMediaType()
-
setTargetMediaType
public void setTargetMediaType(java.lang.String targetMediaType)
-
getPriority
public int getPriority()
-
setPriority
public void setPriority(int priority)
-
-