Class TransformTask

java.lang.Object
org.filestack.transforms.TransformTask
Direct Known Subclasses:
AvTransformOptions, ImageTransformTask

public class TransformTask extends Object
Generic transform task object. A "task" in this case is a transformation, for example resize, crop, convert, etc.
  • Constructor Details

    • TransformTask

      public TransformTask(String name)
  • Method Details

    • addOption

      public void addOption(String key, @Nullable Object value)
      Add a key-value option pair to this task.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • merge

      public static TransformTask merge(String newName, TransformTask... tasks)
      Merges options from multiple tasks and returns a new task with combined options. Does not account for duplicate options.