Class AzureRawFunction
java.lang.Object
io.micronaut.starter.feature.function.AbstractFunctionFeature
io.micronaut.starter.feature.function.azure.AbstractAzureFunction
io.micronaut.starter.feature.function.azure.AzureRawFunction
- All Implemented Interfaces:
io.micronaut.core.naming.Described
,io.micronaut.core.naming.Named
,io.micronaut.core.order.Ordered
,Feature
,AzureCloudFeature
,AzureMicronautRuntimeFeature
,CloudFeature
,FunctionFeature
,MicronautRuntimeFeature
-
Field Summary
Fields inherited from class io.micronaut.starter.feature.function.azure.AbstractAzureFunction
ARTIFACT_ID_AZURE_FUNCTIONS_JAVA_LIBRARY, GROUP_ID_COM_MICROSOFT_AZURE_FUNCTIONS, NAME
Fields inherited from interface io.micronaut.starter.feature.MicronautRuntimeFeature
PROPERTY_MICRONAUT_RUNTIME
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionAzureRawFunction
(CoordinateResolver coordinateResolver, AzureHttpFunction httpFunction) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addDependencies
(GeneratorContext generatorContext) protected void
applyFunction
(GeneratorContext generatorContext, ApplicationType type) protected void
applyTestTemplate
(GeneratorContext generatorContext, Project project, String name) void
processSelectedFeatures
(FeatureContext featureContext) If this method is called for a given feature then that feature was explicitly selected or was included by default as a result ofDefaultFeature.shouldApply(ApplicationType, io.micronaut.starter.options.Options, java.util.Set)
.protected Optional<com.fizzed.rocker.RockerModel>
readmeTemplate
(GeneratorContext generatorContext, Project project, BuildTool buildTool) Methods inherited from class io.micronaut.starter.feature.function.azure.AbstractAzureFunction
addAzureFunctionsJavaLibraryDependency, addFunctionTemplate, apply, getBuildCommand, getDescription, getName, getRunCommand, getTitle, groovyJUnitTemplate, javaJUnitTemplate, koTestTemplate, kotlinJUnitTemplate, spockTemplate
Methods inherited from class io.micronaut.starter.feature.function.AbstractFunctionFeature
getTestSuffix, groovyControllerTemplate, javaControllerTemplate, kotlinControllerTemplate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.starter.feature.function.azure.AzureCloudFeature
getCloud
Methods inherited from interface io.micronaut.starter.feature.function.azure.AzureMicronautRuntimeFeature
resolveMicronautRuntime
Methods inherited from interface io.micronaut.core.naming.Described
getDescription
Methods inherited from interface io.micronaut.starter.feature.Feature
getOrder, isCommunity, isPreview, isVisible
Methods inherited from interface io.micronaut.starter.feature.function.FunctionFeature
getCategory, supports
Methods inherited from interface io.micronaut.starter.feature.MicronautRuntimeFeature
addMicronautRuntimeBuildProperty
-
Constructor Details
-
AzureRawFunction
-
-
Method Details
-
processSelectedFeatures
Description copied from interface:Feature
If this method is called for a given feature then that feature was explicitly selected or was included by default as a result ofDefaultFeature.shouldApply(ApplicationType, io.micronaut.starter.options.Options, java.util.Set)
. This method can be implemented to allow features to modify the list of features that will apply to the project. The methodsFeatureContext.addFeature(Feature)
andFeatureContext.exclude(FeaturePredicate)
are the primary ways to add and remove features from the context.FeatureContext.isPresent(Class)
can be used to determine the existence of other features in order to make decisions.- Parameters:
featureContext
- The feature context
-
applyTestTemplate
- Overrides:
applyTestTemplate
in classAbstractFunctionFeature
-
applyFunction
- Overrides:
applyFunction
in classAbstractFunctionFeature
-
readmeTemplate
protected Optional<com.fizzed.rocker.RockerModel> readmeTemplate(GeneratorContext generatorContext, Project project, BuildTool buildTool) - Overrides:
readmeTemplate
in classAbstractFunctionFeature
-
getMicronautDocumentation
- Returns:
- Returns a link to Micronaut documentation about the feature. eg. https://micronaut-projects.github.io/micronaut-cache/latest/guide/index.html#hazelcast
-
getThirdPartyDocumentation
- Returns:
- Returns a link to third party. E.g. https://hazelcast.org
-
addDependencies
- Overrides:
addDependencies
in classAbstractAzureFunction
-