Package org.openrewrite.test
Interface SourceSpecs
- All Superinterfaces:
Iterable<SourceSpec<?>>
- All Known Subinterfaces:
RewriteTest
- All Known Implementing Classes:
Dir,SourceSpec
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic SourceSpecsdir(String dir, Consumer<SourceSpec<org.openrewrite.SourceFile>> spec, SourceSpecs... sources) static SourceSpecsdir(String dir, SourceSpecs... sources) static SourceSpecsstatic SourceSpecsstatic SourceSpecsother(@Nullable String before, @Nullable String after, Consumer<SourceSpec<org.openrewrite.quark.Quark>> spec) static SourceSpecsother(@Nullable String before, Consumer<SourceSpec<org.openrewrite.quark.Quark>> spec) static SourceSpecsstatic SourceSpecsstatic SourceSpecstext(@Nullable String before, @Nullable String after, Consumer<SourceSpec<org.openrewrite.text.PlainText>> spec) static SourceSpecstext(@Nullable String before, Consumer<SourceSpec<org.openrewrite.text.PlainText>> spec) Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
dir
-
dir
static SourceSpecs dir(String dir, Consumer<SourceSpec<org.openrewrite.SourceFile>> spec, SourceSpecs... sources) -
other
-
other
static SourceSpecs other(@Nullable String before, Consumer<SourceSpec<org.openrewrite.quark.Quark>> spec) -
other
-
other
static SourceSpecs other(@Nullable String before, @Nullable String after, Consumer<SourceSpec<org.openrewrite.quark.Quark>> spec) -
text
-
text
static SourceSpecs text(@Nullable String before, Consumer<SourceSpec<org.openrewrite.text.PlainText>> spec) -
text
-
text
static SourceSpecs text(@Nullable String before, @Nullable String after, Consumer<SourceSpec<org.openrewrite.text.PlainText>> spec)
-