Interface BuildExecutor

All Known Implementing Classes:
LocalBuildExecutor

public interface BuildExecutor
Interface for executing build jobs.

Implementations handle the actual build execution (local, Jenkins, GitLab, etc.)

  • Method Details

    • getName

      String getName()
      Returns the name of this executor (e.g., "local", "jenkins", "gitlab").
      Returns:
      executor name
    • isAvailable

      boolean isAvailable()
      Checks if this executor is available and properly configured.
      Returns:
      true if the executor can accept jobs
    • execute

      void execute(StudioBuildJob job, BuildContext context, BuildCallback callback)
    • cancel

      void cancel(StudioBuildJob job)
      Cancels a running build job.
      Parameters:
      job - the build job to cancel