Package io.kestra.core.models.tasks
Class Task
java.lang.Object
io.kestra.core.models.tasks.Task
- Direct Known Subclasses:
AbstractState,Concat,Counts,Dag,Delete,Echo,Fail,Fetch,Flow,ForEachItem,If,LocalFiles,Log,Parallel,Purge,PurgeExecution,Return,Sequential,Size,Split,Switch,Template
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected @NotNull @NotBlank @Pattern(regexp="^[a-zA-Z0-9][a-zA-Z0-9_-]*") Stringprotected @Valid AbstractRetryprotected Durationprotected @NotNull @NotBlank @Pattern(regexp="\\p{javaJavaIdentifierStart}\\p{javaJavaIdentifierPart}*(\\.\\p{javaJavaIdentifierStart}\\p{javaJavaIdentifierPart}*)*") String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindById(String id, RunContext runContext, TaskRun taskRun) booleanboolean
-
Field Details
-
id
@NotNull @NotBlank @Pattern(regexp="^[a-zA-Z0-9][a-zA-Z0-9_-]*") protected @NotNull @NotBlank @Pattern(regexp="^[a-zA-Z0-9][a-zA-Z0-9_-]*") String id -
type
@NotNull @NotBlank @Pattern(regexp="\\p{javaJavaIdentifierStart}\\p{javaJavaIdentifierPart}*(\\.\\p{javaJavaIdentifierStart}\\p{javaJavaIdentifierPart}*)*") protected @NotNull @NotBlank @Pattern(regexp="\\p{javaJavaIdentifierStart}\\p{javaJavaIdentifierPart}*(\\.\\p{javaJavaIdentifierStart}\\p{javaJavaIdentifierPart}*)*") String type -
retry
-
timeout
-
disabled
-
-
Constructor Details
-
Task
public Task()
-
-
Method Details
-
findById
-
findById
public Optional<Task> findById(String id, RunContext runContext, TaskRun taskRun) throws IllegalVariableEvaluationException -
isFlowable
public boolean isFlowable() -
isSendToWorkerTask
public boolean isSendToWorkerTask()
-