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 voidaddMain(GeneratorContext generatorContext, String className, com.fizzed.rocker.RockerModel rockerModel, String templateName) static voidaddTest(GeneratorContext generatorContext, String className, com.fizzed.rocker.RockerModel rockerModel, String templateName) static voidaddTestUtil(GeneratorContext generatorContext, String className, com.fizzed.rocker.RockerModel rockerModel, String templateName) default MicronautVersiondefault @NonNull Stringdefault StringgetThirdPartyDocumentation(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, isCommunityMethods inherited from interface io.micronaut.core.naming.Described
getDescriptionMethods inherited from interface io.micronaut.projectgen.core.feature.Feature
apply, getCategory, getDescription, getFrameworkDocumentation, getOrder, isPreview, processSelectedFeatures, supportsMethods inherited from interface io.micronaut.starter.feature.MicronautCommunityFeature
isVisible, supportsCurrentMicronautVersion
-
Method Details
-
builtWithMicronautVersion
- Specified by:
builtWithMicronautVersionin interfaceMicronautCommunityFeature
-
getThirdPartyDocumentation
- Specified by:
getThirdPartyDocumentationin interfaceFeature- Parameters:
generatorContext- Generator Context- Returns:
- Returns a link to third party. E.g. https://hazelcast.org
-
getCommunityContributor
- Specified by:
getCommunityContributorin 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)
-