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 |
private AbstractFunctionMojo |
mojo |
static String |
NEED_UPDATE_FUNCTION_CORE_TOOLS |
| Constructor and Description |
|---|
FunctionCoreToolsHandlerImpl(AbstractFunctionMojo mojo,
CommandHandler commandHandler) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assureRequirementAddressed() |
protected String |
getLatestFunctionCoreToolsVersion() |
protected String |
getLocalFunctionCoreToolsVersion() |
protected String |
getProjectBasePath() |
void |
installExtension() |
protected void |
installFunctionExtension() |
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 AbstractFunctionMojo mojo
private CommandHandler commandHandler
public FunctionCoreToolsHandlerImpl(AbstractFunctionMojo mojo, CommandHandler commandHandler)
public void installExtension()
throws Exception
installExtension in interface FunctionCoreToolsHandlerExceptionprotected void installFunctionExtension()
throws Exception
Exceptionprotected void assureRequirementAddressed()
throws Exception
Exceptionprotected String getLatestFunctionCoreToolsVersion()
protected String getLocalFunctionCoreToolsVersion()
protected String getProjectBasePath()
Copyright © 2019. All rights reserved.