Class Transformation

java.lang.Object
org.openhab.core.transform.Transformation
All Implemented Interfaces:
Identifiable<String>

@NonNullByDefault public class Transformation extends Object implements Identifiable<String>
The Transformation encapsulates a transformation configuration
Author:
Jan N. Klug - Initial contribution
  • Field Details

  • Constructor Details

    • Transformation

      public Transformation(String uid, String label, String type, Map<String,String> configuration)
      Parameters:
      uid - the configuration UID. The format is config:<type>:<name>[:<locale>]. For backward compatibility also filenames are allowed.
      type - the type of the configuration (file extension for file-based providers)
      configuration - the configuration (containing e.g. the transformation function)
  • Method Details