Interface AgoraPulseFeature
- All Superinterfaces:
CommunityFeature
,io.micronaut.core.naming.Described
,Feature
,MicronautCommunityFeature
,io.micronaut.core.naming.Named
,io.micronaut.core.order.Ordered
- All Known Implementing Classes:
Console
,GruHttp
,Permissions
,Slack
,Worker
Defines a Micronaut community feature contributed by Agorapulse.
Provides default implementations for Micronaut version, documentation link,
community contributor name, and utility methods for managing templates
based on language and test framework.
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addMain
(GeneratorContext generatorContext, String className, com.fizzed.rocker.RockerModel rockerModel, String templateName) static void
addTest
(GeneratorContext generatorContext, String className, com.fizzed.rocker.RockerModel rockerModel, String templateName) static void
addTestUtil
(GeneratorContext generatorContext, String className, com.fizzed.rocker.RockerModel rockerModel, String templateName) default MicronautVersion
default @NonNull String
default String
getThirdPartyDocumentation
(GeneratorContext generatorContext) static Optional<com.fizzed.rocker.RockerModel>
mainModel
(GeneratorContext generatorContext, @Nullable com.fizzed.rocker.RockerModel javaModel, @Nullable com.fizzed.rocker.RockerModel groovyModel, @Nullable com.fizzed.rocker.RockerModel kotlinModel) static @NonNull Optional<com.fizzed.rocker.RockerModel>
testModel
(GeneratorContext generatorContext, @Nullable com.fizzed.rocker.RockerModel javaModel, @Nullable com.fizzed.rocker.RockerModel groovyModel, @Nullable com.fizzed.rocker.RockerModel kotlinJUnitModel, @Nullable com.fizzed.rocker.RockerModel kotestModel) Methods inherited from interface io.micronaut.starter.feature.CommunityFeature
getCommunityFeatureName, getCommunityFeatureTitle, getName, getTitle, isCommunity
Methods inherited from interface io.micronaut.core.naming.Described
getDescription
Methods inherited from interface io.micronaut.projectgen.core.feature.Feature
apply, getCategory, getDescription, getFrameworkDocumentation, getOrder, isPreview, processSelectedFeatures, supports
Methods inherited from interface io.micronaut.starter.feature.MicronautCommunityFeature
isVisible, supportsCurrentMicronautVersion
-
Method Details
-
builtWithMicronautVersion
- Specified by:
builtWithMicronautVersion
in interfaceMicronautCommunityFeature
-
getThirdPartyDocumentation
- Specified by:
getThirdPartyDocumentation
in interfaceFeature
- Parameters:
generatorContext
- Generator Context- Returns:
- Returns a link to third party. E.g. https://hazelcast.org
-
getCommunityContributor
- Specified by:
getCommunityContributor
in interfaceCommunityFeature
- Returns:
- Indicates name of the community contributor.
-
mainModel
static Optional<com.fizzed.rocker.RockerModel> mainModel(GeneratorContext generatorContext, @Nullable @Nullable com.fizzed.rocker.RockerModel javaModel, @Nullable @Nullable com.fizzed.rocker.RockerModel groovyModel, @Nullable @Nullable com.fizzed.rocker.RockerModel kotlinModel) -
testModel
@NonNull static @NonNull Optional<com.fizzed.rocker.RockerModel> testModel(GeneratorContext generatorContext, @Nullable @Nullable com.fizzed.rocker.RockerModel javaModel, @Nullable @Nullable com.fizzed.rocker.RockerModel groovyModel, @Nullable @Nullable com.fizzed.rocker.RockerModel kotlinJUnitModel, @Nullable @Nullable com.fizzed.rocker.RockerModel kotestModel) -
addMain
static void addMain(GeneratorContext generatorContext, String className, com.fizzed.rocker.RockerModel rockerModel, String templateName) -
addTest
static void addTest(GeneratorContext generatorContext, String className, com.fizzed.rocker.RockerModel rockerModel, String templateName) -
addTestUtil
static void addTestUtil(GeneratorContext generatorContext, String className, com.fizzed.rocker.RockerModel rockerModel, String templateName)
-