Package io.kestra.plugin.graalvm
Class RunContextProxy
java.lang.Object
io.kestra.core.runners.RunContext
io.kestra.plugin.graalvm.RunContextProxy
- All Implemented Interfaces:
io.kestra.core.models.property.PropertyContext
public class RunContextProxy
extends io.kestra.core.runners.RunContext
-
Nested Class Summary
Nested classes/interfaces inherited from class io.kestra.core.runners.RunContext
io.kestra.core.runners.RunContext.FlowInfo, io.kestra.core.runners.RunContext.TaskRunInfo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.kestra.core.runners.AclCheckeracl()io.kestra.core.runners.AssetEmitterassets()voidcleanup()io.kestra.core.runners.RunContextcloneForPlugin(io.kestra.core.models.Plugin plugin) voiddynamicWorkerResult(List<io.kestra.core.runners.WorkerTaskResult> workerTaskResults) List<io.kestra.core.runners.WorkerTaskResult> io.kestra.core.runners.RunContext.FlowInfoflowInfo()io.kestra.core.runners.InputAndOutputbooleanio.kestra.core.runners.LocalPathorg.slf4j.Loggerlogger()<T> io.kestra.core.runners.RunContextmetric(io.kestra.core.models.executions.AbstractMetricEntry<T> metricEntry) List<io.kestra.core.models.executions.AbstractMetricEntry<?>> metrics()io.kestra.core.storages.kv.KVStorenamespaceKv(String namespace) <T> Optional<T> pluginConfiguration(String name) <T> io.kestra.core.runners.RunContextProperty<T> render(io.kestra.core.models.property.Property<T> inline) renderTyped(String inline) io.kestra.core.runners.SDKsdk()voidsetTraceParent(String traceParent) io.kestra.core.storages.Storagestorage()io.kestra.core.runners.RunContext.TaskRunInfotenantId()<T> voidvalidate(T bean) version()io.kestra.core.runners.WorkingDirMethods inherited from class io.kestra.core.runners.RunContext
stateStore
-
Constructor Details
-
RunContextProxy
public RunContextProxy(io.kestra.core.runners.RunContext delegate)
-
-
Method Details
-
getTriggerExecutionId
- Specified by:
getTriggerExecutionIdin classio.kestra.core.runners.RunContext
-
getVariables
- Specified by:
getVariablesin classio.kestra.core.runners.RunContext
-
getSecretInputs
- Specified by:
getSecretInputsin classio.kestra.core.runners.RunContext
-
getTraceParent
- Specified by:
getTraceParentin classio.kestra.core.runners.RunContext
-
setTraceParent
- Specified by:
setTraceParentin classio.kestra.core.runners.RunContext
-
render
public String render(String inline) throws io.kestra.core.exceptions.IllegalVariableEvaluationException - Specified by:
renderin classio.kestra.core.runners.RunContext- Throws:
io.kestra.core.exceptions.IllegalVariableEvaluationException
-
renderTyped
public Object renderTyped(String inline) throws io.kestra.core.exceptions.IllegalVariableEvaluationException - Specified by:
renderTypedin classio.kestra.core.runners.RunContext- Throws:
io.kestra.core.exceptions.IllegalVariableEvaluationException
-
render
public String render(String inline, Map<String, Object> variables) throws io.kestra.core.exceptions.IllegalVariableEvaluationException- Specified by:
renderin interfaceio.kestra.core.models.property.PropertyContext- Specified by:
renderin classio.kestra.core.runners.RunContext- Throws:
io.kestra.core.exceptions.IllegalVariableEvaluationException
-
render
public <T> io.kestra.core.runners.RunContextProperty<T> render(io.kestra.core.models.property.Property<T> inline) - Specified by:
renderin classio.kestra.core.runners.RunContext
-
render
public List<String> render(List<String> inline) throws io.kestra.core.exceptions.IllegalVariableEvaluationException - Specified by:
renderin classio.kestra.core.runners.RunContext- Throws:
io.kestra.core.exceptions.IllegalVariableEvaluationException
-
render
public List<String> render(List<String> inline, Map<String, Object> variables) throws io.kestra.core.exceptions.IllegalVariableEvaluationException- Specified by:
renderin classio.kestra.core.runners.RunContext- Throws:
io.kestra.core.exceptions.IllegalVariableEvaluationException
-
render
public Set<String> render(Set<String> inline) throws io.kestra.core.exceptions.IllegalVariableEvaluationException - Specified by:
renderin classio.kestra.core.runners.RunContext- Throws:
io.kestra.core.exceptions.IllegalVariableEvaluationException
-
render
public Set<String> render(Set<String> inline, Map<String, Object> variables) throws io.kestra.core.exceptions.IllegalVariableEvaluationException- Specified by:
renderin classio.kestra.core.runners.RunContext- Throws:
io.kestra.core.exceptions.IllegalVariableEvaluationException
-
render
public Map<String,Object> render(Map<String, Object> inline) throws io.kestra.core.exceptions.IllegalVariableEvaluationException- Specified by:
renderin classio.kestra.core.runners.RunContext- Throws:
io.kestra.core.exceptions.IllegalVariableEvaluationException
-
render
public Map<String,Object> render(Map<String, Object> inline, Map<String, throws io.kestra.core.exceptions.IllegalVariableEvaluationExceptionObject> variables) - Specified by:
renderin interfaceio.kestra.core.models.property.PropertyContext- Specified by:
renderin classio.kestra.core.runners.RunContext- Throws:
io.kestra.core.exceptions.IllegalVariableEvaluationException
-
renderMap
public Map<String,String> renderMap(Map<String, String> inline) throws io.kestra.core.exceptions.IllegalVariableEvaluationException- Specified by:
renderMapin classio.kestra.core.runners.RunContext- Throws:
io.kestra.core.exceptions.IllegalVariableEvaluationException
-
renderMap
public Map<String,String> renderMap(Map<String, String> inline, Map<String, throws io.kestra.core.exceptions.IllegalVariableEvaluationExceptionObject> variables) - Specified by:
renderMapin classio.kestra.core.runners.RunContext- Throws:
io.kestra.core.exceptions.IllegalVariableEvaluationException
-
validate
public <T> void validate(T bean) - Specified by:
validatein classio.kestra.core.runners.RunContext
-
decrypt
- Specified by:
decryptin classio.kestra.core.runners.RunContext- Throws:
GeneralSecurityException
-
encrypt
- Specified by:
encryptin classio.kestra.core.runners.RunContext- Throws:
GeneralSecurityException
-
logger
public org.slf4j.Logger logger()- Specified by:
loggerin classio.kestra.core.runners.RunContext
-
logFileURI
- Specified by:
logFileURIin classio.kestra.core.runners.RunContext
-
getStorageOutputPrefix
- Specified by:
getStorageOutputPrefixin classio.kestra.core.runners.RunContext
-
storage
public io.kestra.core.storages.Storage storage()- Specified by:
storagein classio.kestra.core.runners.RunContext
-
metrics
- Specified by:
metricsin classio.kestra.core.runners.RunContext
-
metric
public <T> io.kestra.core.runners.RunContext metric(io.kestra.core.models.executions.AbstractMetricEntry<T> metricEntry) - Specified by:
metricin classio.kestra.core.runners.RunContext
-
dynamicWorkerResult
- Specified by:
dynamicWorkerResultin classio.kestra.core.runners.RunContext
-
dynamicWorkerResults
- Specified by:
dynamicWorkerResultsin classio.kestra.core.runners.RunContext
-
workingDir
public io.kestra.core.runners.WorkingDir workingDir()- Specified by:
workingDirin classio.kestra.core.runners.RunContext
-
cleanup
public void cleanup()- Specified by:
cleanupin classio.kestra.core.runners.RunContext
-
tenantId
- Specified by:
tenantIdin classio.kestra.core.runners.RunContext
-
taskRunInfo
public io.kestra.core.runners.RunContext.TaskRunInfo taskRunInfo()- Specified by:
taskRunInfoin classio.kestra.core.runners.RunContext
-
flowInfo
public io.kestra.core.runners.RunContext.FlowInfo flowInfo()- Specified by:
flowInfoin classio.kestra.core.runners.RunContext
-
pluginConfiguration
- Specified by:
pluginConfigurationin classio.kestra.core.runners.RunContext
-
pluginConfigurations
- Specified by:
pluginConfigurationsin classio.kestra.core.runners.RunContext
-
version
- Specified by:
versionin classio.kestra.core.runners.RunContext
-
namespaceKv
- Specified by:
namespaceKvin classio.kestra.core.runners.RunContext
-
localPath
public io.kestra.core.runners.LocalPath localPath()- Specified by:
localPathin classio.kestra.core.runners.RunContext
-
isInitialized
public boolean isInitialized()- Specified by:
isInitializedin classio.kestra.core.runners.RunContext
-
acl
public io.kestra.core.runners.AclChecker acl()- Specified by:
aclin classio.kestra.core.runners.RunContext
-
assets
public io.kestra.core.runners.AssetEmitter assets() throws io.kestra.core.exceptions.IllegalVariableEvaluationException- Specified by:
assetsin classio.kestra.core.runners.RunContext- Throws:
io.kestra.core.exceptions.IllegalVariableEvaluationException
-
cloneForPlugin
public io.kestra.core.runners.RunContext cloneForPlugin(io.kestra.core.models.Plugin plugin) - Specified by:
cloneForPluginin classio.kestra.core.runners.RunContext
-
inputAndOutput
public io.kestra.core.runners.InputAndOutput inputAndOutput()- Specified by:
inputAndOutputin classio.kestra.core.runners.RunContext
-
sdk
public io.kestra.core.runners.SDK sdk()- Specified by:
sdkin classio.kestra.core.runners.RunContext
-