Class AzureHttpFunction
java.lang.Object
io.micronaut.starter.feature.function.AbstractFunctionFeature
io.micronaut.starter.feature.function.azure.AbstractAzureFunction
io.micronaut.starter.feature.function.azure.AzureHttpFunction
- 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.http.enabled",
value="true",
defaultValue="true")
@Singleton
public class AzureHttpFunction
extends AbstractAzureFunction
implements Feature
-
Field Summary
FieldsFields inherited from class AbstractAzureFunction
ARTIFACT_ID_AZURE_FUNCTIONS_JAVA_LIBRARY, AZURE_FUNCTIONS_EXTENSION_VERSION, DEPENDENCY_AZURE_FUNCTIONS_JAVA_LIBRARY, GROUP_ID_COM_MICROSOFT_AZURE_FUNCTIONSFields inherited from interface MicronautRuntimeFeature
PROPERTY_MICRONAUT_RUNTIMEFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDependencies(GeneratorContext generatorContext) protected voidaddFunctionTemplate(GeneratorContext generatorContext, Project project) @NonNull StringgetName()The name of the feature.protected com.fizzed.rocker.RockerModelgroovyJUnitTemplate(Project project) booleanSome features should not be visible to the user because they are a common parent of other selectable features, or they should always be applied, or any other reason.protected com.fizzed.rocker.RockerModeljavaJUnitTemplate(Project project) protected com.fizzed.rocker.RockerModelkoTestTemplate(Project project) protected com.fizzed.rocker.RockerModelkotlinJUnitTemplate(Project project) com.fizzed.rocker.RockerModelspockTemplate(Project project) Methods inherited from class AbstractAzureFunction
apply, getBuildCommand, getDescription, getRunCommand, getTitleMethods inherited from class AbstractFunctionFeature
applyFunction, applyTestTemplate, getTestSuffix, groovyControllerTemplate, javaControllerTemplate, kotlinControllerTemplate, readmeTemplateMethods 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
apply, getDescription, getOrder, getThirdPartyDocumentation, getTitle, isCommunity, isPreview, processSelectedFeaturesMethods inherited from interface FunctionFeature
getCategory, supportsMethods inherited from interface MicronautRuntimeFeature
addMicronautRuntimeBuildProperty
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
AzureHttpFunction
-
-
Method Details
-
getName
Description copied from interface:FeatureThe name of the feature. It must be unique.- Specified by:
getNamein interfaceFeature- Specified by:
getNamein interfaceio.micronaut.core.naming.Named- Overrides:
getNamein classAbstractAzureFunction- Returns:
- the name of the feature
-
isVisible
public boolean isVisible()Description copied from interface:FeatureSome features should not be visible to the user because they are a common parent of other selectable features, or they should always be applied, or any other reason. -
javaJUnitTemplate
- Overrides:
javaJUnitTemplatein classAbstractAzureFunction
-
kotlinJUnitTemplate
- Overrides:
kotlinJUnitTemplatein classAbstractAzureFunction
-
groovyJUnitTemplate
- Overrides:
groovyJUnitTemplatein classAbstractAzureFunction
-
koTestTemplate
- Overrides:
koTestTemplatein classAbstractAzureFunction
-
spockTemplate
- Overrides:
spockTemplatein classAbstractAzureFunction
-
addFunctionTemplate
- Overrides:
addFunctionTemplatein classAbstractAzureFunction
-
getMicronautDocumentation
- Specified by:
getMicronautDocumentationin interfaceFeature- Returns:
- Returns a link to Micronaut documentation about the feature. eg. https://micronaut-projects.github.io/micronaut-cache/latest/guide/index.html#hazelcast
-
addDependencies
- Overrides:
addDependenciesin classAbstractAzureFunction
-