Interface ZipCreateOperation
- All Known Implementing Classes:
ZipCreateController
public interface ZipCreateOperation
Defines the signature for creating an application.
- Since:
- 1.0.0
- Author:
- graemerocher
-
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.http.HttpResponse<io.micronaut.core.io.Writable>
createApp
(ApplicationType type, @Pattern(regexp="[\\w\\d-_\\.]+") String name, @Nullable List<String> features, @Nullable BuildTool buildTool, @Nullable TestFramework testFramework, @Nullable Language lang, @Nullable JdkVersion javaVersion, @Nullable String userAgent) Creates an application.
-
Method Details
-
createApp
io.micronaut.http.HttpResponse<io.micronaut.core.io.Writable> createApp(ApplicationType type, @Pattern(regexp="[\\w\\d-_\\.]+") @Pattern(regexp="[\\w\\d-_\\.]+") String name, @Nullable @Nullable List<String> features, @Nullable @Nullable BuildTool buildTool, @Nullable @Nullable TestFramework testFramework, @Nullable @Nullable Language lang, @Nullable @Nullable JdkVersion javaVersion, @Nullable @Header("User-Agent") @Nullable String userAgent) Creates an application.- Parameters:
type
- The application typename
- The name of the applicationfeatures
- The featuresbuildTool
- The build tooltestFramework
- The test frameworklang
- The lang- Returns:
- An HTTP response that emits a writable
-