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
@Requires(property="micronaut.starter.feature.azure.function.enabled",
value="true",
defaultValue="true")
@Singleton
public class AzureRawFunction
extends AbstractAzureFunction
-
Field Summary
Fields inherited from class AbstractAzureFunction
ARTIFACT_ID_AZURE_FUNCTIONS_JAVA_LIBRARY, AZURE_FUNCTIONS_EXTENSION_VERSION, DEPENDENCY_AZURE_FUNCTIONS_JAVA_LIBRARY, GROUP_ID_COM_MICROSOFT_AZURE_FUNCTIONS, NAMEFields inherited from interface MicronautRuntimeFeature
PROPERTY_MICRONAUT_RUNTIMEFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionAzureRawFunction(CoordinateResolver coordinateResolver, AzureHttpFunction httpFunction) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDependencies(GeneratorContext generatorContext) protected voidapplyFunction(GeneratorContext generatorContext, ApplicationType type) protected voidapplyTestTemplate(GeneratorContext generatorContext, Project project, String name) voidprocessSelectedFeatures(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 AbstractAzureFunction
addFunctionTemplate, apply, getBuildCommand, getDescription, getName, getRunCommand, getTitle, groovyJUnitTemplate, javaJUnitTemplate, koTestTemplate, kotlinJUnitTemplate, spockTemplateMethods inherited from class AbstractFunctionFeature
getTestSuffix, groovyControllerTemplate, javaControllerTemplate, kotlinControllerTemplateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AzureCloudFeature
getCloudMethods inherited from interface AzureMicronautRuntimeFeature
resolveMicronautRuntimeMethods inherited from interface io.micronaut.core.naming.Described
getDescriptionMethods inherited from interface Feature
getOrder, isCommunity, isPreview, isVisibleMethods inherited from interface FunctionFeature
getCategory, supportsMethods inherited from interface MicronautRuntimeFeature
addMicronautRuntimeBuildProperty
-
Constructor Details
-
AzureRawFunction
-
-
Method Details
-
processSelectedFeatures
Description copied from interface:FeatureIf 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:
applyTestTemplatein classAbstractFunctionFeature
-
applyFunction
- Overrides:
applyFunctionin classAbstractFunctionFeature
-
readmeTemplate
protected Optional<com.fizzed.rocker.RockerModel> readmeTemplate(GeneratorContext generatorContext, Project project, BuildTool buildTool) - Overrides:
readmeTemplatein 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:
addDependenciesin classAbstractAzureFunction
-