Package io.micronaut.starter.api.diff
Interface DiffOperations
- All Known Implementing Classes:
DiffController
public interface DiffOperations
Operations for performing diffs.
- Since:
- 1.0.0
- Author:
- graemerocher
-
Method Summary
Modifier and TypeMethodDescriptiondiffApp
(ApplicationType type, String name, @Nullable List<String> features, @Nullable BuildTool buildTool, @Nullable TestFramework testFramework, @Nullable Language lang, @Nullable JdkVersion javaVersion, RequestInfo requestInfo) Diffs the whole application for all selected features.diffFeature
(@NotNull ApplicationType type, @Nullable String name, @NotBlank @NonNull String feature, @Nullable BuildTool buildTool, @Nullable TestFramework testFramework, @Nullable Language lang, @Nullable JdkVersion javaVersion, RequestInfo requestInfo) Previews an application.
-
Method Details
-
diffFeature
String diffFeature(@NotNull @NotNull ApplicationType type, @Nullable @Nullable String name, @NotBlank @NonNull @NotBlank @NonNull String feature, @Nullable @Nullable BuildTool buildTool, @Nullable @Nullable TestFramework testFramework, @Nullable @Nullable Language lang, @Nullable @Nullable JdkVersion javaVersion, RequestInfo requestInfo) throws IOException Previews an application.- Parameters:
type
- The application typename
- The project namefeature
- The featurebuildTool
- The build tooltestFramework
- The test frameworklang
- The langrequestInfo
- The request info- Returns:
- An HTTP response that emits a writable
- Throws:
IOException
-
diffApp
String diffApp(ApplicationType type, String name, @Nullable @Nullable List<String> features, @Nullable @Nullable BuildTool buildTool, @Nullable @Nullable TestFramework testFramework, @Nullable @Nullable Language lang, @Nullable @Nullable JdkVersion javaVersion, RequestInfo requestInfo) throws IOException Diffs the whole application for all selected features.- Parameters:
type
- The application typename
- The name of the applicationfeatures
- The featuresbuildTool
- The build tooltestFramework
- The test frameworklang
- The langrequestInfo
- The request info- Returns:
- An HTTP response that emits a writable
- Throws:
IOException
-