Class ContentTransformer<T>

java.lang.Object
com.linecorp.centraldogma.server.command.ContentTransformer<T>

public class ContentTransformer<T> extends Object
A Function which is used for transforming the content at the specified path of the repository.
  • Constructor Details

  • Method Details

    • path

      public String path()
      Returns the path of the content to be transformed.
    • entryType

      public EntryType entryType()
      Returns the EntryType of the content to be transformed.
    • transformer

      public BiFunction<Revision,T,T> transformer()
      Returns the Function which transforms the content.
    • toString

      public String toString()
      Overrides:
      toString in class Object