Class FunctionConfiguration
- java.lang.Object
-
- com.microsoft.azure.toolkit.lib.legacy.function.configurations.FunctionConfiguration
-
public class FunctionConfiguration extends Object
Schema of function.json is at https://github.com/Azure/azure-webjobs-sdk-script/blob/dev/schemas/json/function.json
-
-
Field Summary
Fields Modifier and Type Field Description private List<Binding>bindingsprivate StringentryPointstatic StringHTTP_OUTPUT_NOT_ALLOWEDstatic StringMULTIPLE_TRIGGERprivate Retryretryprivate StringscriptFilestatic StringSTORAGE_CONNECTION_EMPTY
-
Constructor Summary
Constructors Constructor Description FunctionConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckEmptyStorageConnection()protected voidcheckHttpOutputBinding()protected voidcheckMultipleTrigger()List<Binding>getBindings()StringgetEntryPoint()RetrygetRetry()StringgetScriptFile()voidsetBindings(List<Binding> bindings)voidsetEntryPoint(String entryPoint)voidsetRetry(Retry retry)voidsetScriptFile(String scriptFile)voidvalidate()
-
-
-
Field Detail
-
MULTIPLE_TRIGGER
public static final String MULTIPLE_TRIGGER
- See Also:
- Constant Field Values
-
HTTP_OUTPUT_NOT_ALLOWED
public static final String HTTP_OUTPUT_NOT_ALLOWED
- See Also:
- Constant Field Values
-
STORAGE_CONNECTION_EMPTY
public static final String STORAGE_CONNECTION_EMPTY
- See Also:
- Constant Field Values
-
scriptFile
private String scriptFile
-
entryPoint
private String entryPoint
-
retry
private Retry retry
-
-
Method Detail
-
getRetry
public Retry getRetry()
-
getScriptFile
public String getScriptFile()
-
getEntryPoint
public String getEntryPoint()
-
setScriptFile
public void setScriptFile(String scriptFile)
-
setEntryPoint
public void setEntryPoint(String entryPoint)
-
setRetry
public void setRetry(Retry retry)
-
validate
public void validate()
-
checkMultipleTrigger
protected void checkMultipleTrigger()
-
checkHttpOutputBinding
protected void checkHttpOutputBinding()
-
checkEmptyStorageConnection
protected void checkEmptyStorageConnection()
-
-