Interface GitHubCreateOperation

All Known Implementing Classes:
GitHubCreateController

public interface GitHubCreateOperation
Defines the signature for creating an application in Github repository.
Since:
2.2
Author:
Pavol Gressa
  • Method Details

    • createApp

      io.micronaut.http.HttpResponse<GitHubCreateDTO> createApp(@NonNull @NonNull 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, @NonNull @NonNull String code, @NonNull @NonNull String state, @Nullable @Header("User-Agent") @Nullable String userAgent, @NonNull @NonNull RequestInfo requestInfo)
      Creates and push application to GitHub repository.
      Parameters:
      type - The application type
      name - The name of the application and GitHub repository
      features - The features
      buildTool - The build tool
      testFramework - The test framework
      lang - The lang
      javaVersion - The java version
      code - The github code
      Returns:
      An information about newly created GitHub repository