Class CreateJob

java.lang.Object
io.kestra.core.models.tasks.Task
io.kestra.plugin.databricks.AbstractTask
io.kestra.plugin.databricks.job.CreateJob
All Implemented Interfaces:
io.kestra.core.models.tasks.RunnableTask<CreateJob.Output>

@Plugin(examples=@Example(title="Create a Databricks job, run it, and wait for completion for five minutes",code="id: createJob\ntype: io.kestra.plugin.databricks.job.CreateJob\nauthentication:\n token: <your-token>\nhost: <your-host>\njobTasks:\n - existingClusterId: <your-cluster>\n taskKey: taskKey\n sparkPythonTask:\n pythonFile: /Shared/hello.py\n sparkPythonTaskSource: WORKSPACE\nwaitForCompletion: PT5M")) public class CreateJob extends AbstractTask implements io.kestra.core.models.tasks.RunnableTask<CreateJob.Output>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class io.kestra.plugin.databricks.AbstractTask

    AbstractTask.AuthenticationConfig

    Nested classes/interfaces inherited from class io.kestra.core.models.tasks.Task

    io.kestra.core.models.tasks.Task.TaskBuilder<C extends io.kestra.core.models.tasks.Task,B extends io.kestra.core.models.tasks.Task.TaskBuilder<C,B>>
  • Field Summary

    Fields inherited from class io.kestra.core.models.tasks.Task

    disabled, id, retry, timeout, type
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    run(io.kestra.core.runners.RunContext runContext)
     

    Methods inherited from class io.kestra.plugin.databricks.AbstractTask

    workspaceClient

    Methods inherited from class io.kestra.core.models.tasks.Task

    findById, findById, getDescription, getDisabled, getId, getLogLevel, getRetry, getTimeout, getType, getWorkerGroup, isFlowable, isSendToWorkerTask

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CreateJob

      public CreateJob()
  • Method Details