Class Application
java.lang.Object
io.micronaut.starter.analytics.postgres.Application
Models a generated application.
- Since:
- 1.0.0
- Author:
- graemerocher
-
Constructor Summary
ConstructorsConstructorDescriptionApplication
(@NonNull ApplicationType type, @NonNull Language language, @NonNull BuildTool buildTool, @NonNull TestFramework testFramework, @NonNull JdkVersion jdkVersion, @NonNull @NotBlank String micronautVersion) -
Method Summary
Modifier and TypeMethodDescription@NonNull BuildTool
@Nullable Long
getId()
@NonNull JdkVersion
@NonNull Language
@NonNull @NotBlank String
@NonNull TestFramework
@NonNull ApplicationType
getType()
void
setDateCreated
(LocalDateTime dateCreated) void
setFeatures
(Set<Feature> features) void
-
Constructor Details
-
Application
@Creator public Application(@NonNull @NonNull ApplicationType type, @NonNull @NonNull Language language, @NonNull @NonNull BuildTool buildTool, @NonNull @NonNull TestFramework testFramework, @NonNull @NonNull JdkVersion jdkVersion, @NonNull @NotBlank @NonNull @NotBlank String micronautVersion)
-
-
Method Details
-
getType
- Returns:
- The type
-
getLanguage
- Returns:
- The language
-
getBuildTool
- Returns:
- The build tool
-
getTestFramework
- Returns:
- The test framework
-
getJdkVersion
- Returns:
- The JDK version
-
getId
- Returns:
- The id
-
setId
-
getFeatures
- Returns:
- The features
-
setFeatures
-
getDateCreated
- Returns:
- The date created
-
setDateCreated
-
getMicronautVersion
- Returns:
- The Micronaut version
-