-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathBindingName.java
More file actions
32 lines (29 loc) · 923 Bytes
/
BindingName.java
File metadata and controls
32 lines (29 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.functions.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* <p>
* Place this on a parameter whose value would come from Azure Functions runtime. Use this
* annotation when you want to get the value of trigger metadata, or when you defined your own
* bindings in function.json manually.
* </p>
*
* @since 1.0.0
*/
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
public @interface BindingName {
/**
* Defines the trigger metadata name or binding name defined in function.json.
*
* @return The trigger metadata name or binding name.
*/
String value();
}