public class FunctionUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
private static String |
INVALID_FUNCTION_EXTENSION_VERSION |
private static String |
LOAD_BINDING_TEMPLATES_FAIL |
private static String |
LOAD_TEMPLATES_FAIL |
| Constructor and Description |
|---|
FunctionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static List<FunctionTemplate> |
loadAllFunctionTemplates() |
static BindingTemplate |
loadBindingTemplate(String type) |
static FunctionExtensionVersion |
parseFunctionExtensionVersion(String version) |
private static List<FunctionTemplate> |
parseTemplateJson(String templateJson) |
private static final String LOAD_TEMPLATES_FAIL
private static final String LOAD_BINDING_TEMPLATES_FAIL
private static final String INVALID_FUNCTION_EXTENSION_VERSION
public static FunctionExtensionVersion parseFunctionExtensionVersion(String version) throws AzureExecutionException
AzureExecutionExceptionpublic static BindingTemplate loadBindingTemplate(String type)
public static List<FunctionTemplate> loadAllFunctionTemplates() throws AzureExecutionException
AzureExecutionExceptionprivate static List<FunctionTemplate> parseTemplateJson(String templateJson) throws com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException
com.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOExceptionCopyright © 2020. All rights reserved.