public class FunctionUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
private static com.microsoft.azure.management.appservice.JavaVersion |
DEFAULT_JAVA_VERSION |
private static String |
INVALID_FUNCTION_EXTENSION_VERSION |
private static String |
INVALID_JAVA_VERSION |
private static String |
LOAD_BINDING_TEMPLATES_FAIL |
private static String |
LOAD_TEMPLATES_FAIL |
private static String |
UNSUPPORTED_JAVA_VERSION |
| Constructor and Description |
|---|
FunctionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static com.microsoft.azure.management.appservice.FunctionDeploymentSlot |
getFunctionDeploymentSlotByName(com.microsoft.azure.management.appservice.FunctionApp functionApp,
String slotName) |
static List<FunctionTemplate> |
loadAllFunctionTemplates() |
static BindingTemplate |
loadBindingTemplate(String type) |
static FunctionExtensionVersion |
parseFunctionExtensionVersion(String version) |
static com.microsoft.azure.management.appservice.JavaVersion |
parseJavaVersion(String javaVersion) |
private static List<FunctionTemplate> |
parseTemplateJson(String templateJson) |
private static final com.microsoft.azure.management.appservice.JavaVersion DEFAULT_JAVA_VERSION
private static final String INVALID_JAVA_VERSION
private static final String UNSUPPORTED_JAVA_VERSION
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 com.microsoft.azure.management.appservice.JavaVersion parseJavaVersion(String javaVersion)
public static com.microsoft.azure.management.appservice.FunctionDeploymentSlot getFunctionDeploymentSlotByName(com.microsoft.azure.management.appservice.FunctionApp functionApp,
String slotName)
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.