Package io.micronaut.starter.api.preview
Interface PreviewOperations
- All Known Implementing Classes:
PreviewController
public interface PreviewOperations
-
Method Summary
Modifier and TypeMethodDescriptionpreviewApp(ApplicationType type, String name, @Nullable List<String> features, @Nullable BuildTool buildTool, @Nullable TestFramework testFramework, @Nullable Language lang, @Nullable JdkVersion javaVersion, RequestInfo requestInfo) Previews an application.
-
Method Details
-
previewApp
PreviewDTO previewApp(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 Previews an application.- Parameters:
type- The application typename- The name of the applicationfeatures- The featuresbuildTool- The build tooltestFramework- The test frameworklang- The langjavaVersion- The JdkVersionrequestInfo- The request info- Returns:
- An HTTP response that emits a writable
- Throws:
IOException
-