azure-docs-sdk-java/docs-ref-autogen/com.azure.spring.cloud.feat...

52 строки
2.6 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.spring.cloud.feature.management.web.FeatureGate"
fullName: "com.azure.spring.cloud.feature.management.web.FeatureGate"
name: "FeatureGate"
nameWithType: "FeatureGate"
summary: "THis annotation can be added to any endpoint and will check if the feature is on."
syntax: "public interface **FeatureGate**</br> implements <a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html\">Annotation</a>"
methods:
- uid: "com.azure.spring.cloud.feature.management.web.FeatureGate.fallback()"
fullName: "com.azure.spring.cloud.feature.management.web.FeatureGate.fallback()"
name: "fallback()"
nameWithType: "FeatureGate.fallback()"
summary: "Return endpoint to be fall backed on if feature is off."
modifiers:
- "abstract"
syntax: "public abstract String fallback()"
desc: "Return endpoint to be fall backed on if feature is off."
returns:
description: "Endpoint to be fall backed on if feature is off."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.spring.cloud.feature.management.web.FeatureGate.feature()"
fullName: "com.azure.spring.cloud.feature.management.web.FeatureGate.feature()"
name: "feature()"
nameWithType: "FeatureGate.feature()"
summary: "Return name of the feature that is checked."
modifiers:
- "abstract"
syntax: "public abstract String feature()"
desc: "Return name of the feature that is checked."
returns:
description: "Name of the feature that is checked."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.spring.cloud.feature.management.web.FeatureGate.snapshot()"
fullName: "com.azure.spring.cloud.feature.management.web.FeatureGate.snapshot()"
name: "snapshot()"
nameWithType: "FeatureGate.snapshot()"
summary: "If true, feature will return the same value during the length of the request."
modifiers:
- "abstract"
syntax: "public abstract boolean snapshot()"
desc: "If true, feature will return the same value during the length of the request."
returns:
description: "If true, feature will return the same value during the length of the request."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
desc: "THis annotation can be added to any endpoint and will check if the feature is on."
implements:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html\">Annotation</a>"
metadata: {}
package: "com.azure.spring.cloud.feature.management.web"
artifact: com.azure.spring:spring-cloud-azure-feature-management-web:5.18.0