Class ImageTransformationInfo

  • All Implemented Interfaces:
    java.io.Serializable

    @JsonObject("ImageTransformationInfo")
    public class ImageTransformationInfo
    extends java.lang.Object
    implements java.io.Serializable
    A class that represents an image transformation.
    Since:
    1.9
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ImageTransformationInfo​(java.lang.String code, java.lang.String label, java.lang.String description, boolean defaultTransformation)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getCode()
      The code of the image transformation.
      java.lang.String getLabel()
      The (pretty-printed) label of the image transformation.
      int hashCode()  
      boolean isDefaultTransformation()
      Returns true, if this transformation is the default transformation for this channel.
      java.lang.String toString()  
      java.lang.String tryGetDescription()
      The description of the image transformation, or null, if the image transformation has no description.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ImageTransformationInfo

        public ImageTransformationInfo​(java.lang.String code,
                                       java.lang.String label,
                                       java.lang.String description,
                                       boolean defaultTransformation)
    • Method Detail

      • getCode

        public java.lang.String getCode()
        The code of the image transformation.
      • getLabel

        public java.lang.String getLabel()
        The (pretty-printed) label of the image transformation.
      • tryGetDescription

        public java.lang.String tryGetDescription()
        The description of the image transformation, or null, if the image transformation has no description.
      • isDefaultTransformation

        public boolean isDefaultTransformation()
        Returns true, if this transformation is the default transformation for this channel.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object