Schnittstelle TransformParameters

Alle bekannten Implementierungsklassen:
TransformParameters.None

public interface TransformParameters
Marker interface for parameter objects to TransformActions.

Parameter types should be interfaces, only declaring getters for Property-like objects. All getters must be annotated with an input annotation like Input or InputFiles. Normalization annotations such as PathSensitive or Classpath can be used as well. See the table of incremental build property type annotations for all annotations which can be used. Example:

 public interface MyParameters extends TransformParameters {
     @Input
     Property<String> getStringParameter();
     @InputFiles
     ConfigurableFileCollection getInputFiles();
 }
 
Seit:
5.3
  • Verschachtelte Klassen - Übersicht

    Verschachtelte Klassen
    Modifizierer und Typ
    Schnittstelle
    Beschreibung
    static final class 
    Used for TransformActions without parameters.