public class FunctionCoreToolsHandlerImpl extends Object implements FunctionCoreToolsHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
CANNOT_AUTO_INSTALL |
private CommandHandler |
commandHandler |
static String |
FUNC_EXTENSIONS_INSTALL_TEMPLATE |
static String |
GET_LATEST_VERSION_CMD |
static String |
GET_LATEST_VERSION_FAIL |
static String |
GET_LOCAL_VERSION_CMD |
static String |
GET_LOCAL_VERSION_FAIL |
static String |
INSTALL_FUNCTION_EXTENSIONS_FAIL |
static com.github.zafarkhaja.semver.Version |
LEAST_SUPPORTED_VERSION |
static String |
NEED_UPDATE_FUNCTION_CORE_TOOLS |
| Constructor and Description |
|---|
FunctionCoreToolsHandlerImpl(CommandHandler commandHandler) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assureRequirementAddressed() |
protected String |
getLatestFunctionCoreToolsVersion() |
protected String |
getLocalFunctionCoreToolsVersion() |
void |
installExtension(File stagingDirectory,
File basedir) |
protected void |
installFunctionExtension(File stagingDirector,
File basedir) |
public static final String FUNC_EXTENSIONS_INSTALL_TEMPLATE
public static final String INSTALL_FUNCTION_EXTENSIONS_FAIL
public static final String CANNOT_AUTO_INSTALL
public static final String NEED_UPDATE_FUNCTION_CORE_TOOLS
public static final String GET_LATEST_VERSION_CMD
public static final String GET_LATEST_VERSION_FAIL
public static final String GET_LOCAL_VERSION_CMD
public static final String GET_LOCAL_VERSION_FAIL
public static final com.github.zafarkhaja.semver.Version LEAST_SUPPORTED_VERSION
private CommandHandler commandHandler
public FunctionCoreToolsHandlerImpl(CommandHandler commandHandler)
public void installExtension(File stagingDirectory, File basedir) throws AzureExecutionException
installExtension in interface FunctionCoreToolsHandlerAzureExecutionExceptionprotected void installFunctionExtension(File stagingDirector, File basedir) throws AzureExecutionException
AzureExecutionExceptionprotected void assureRequirementAddressed()
throws AzureExecutionException
AzureExecutionExceptionprotected String getLatestFunctionCoreToolsVersion()
protected String getLocalFunctionCoreToolsVersion()
Copyright © 2020. All rights reserved.