Package com.axelor.studio.service.build
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 Summary
Modifier and TypeMethodDescriptionvoidcancel(StudioBuildJob job) Cancels a running build job.voidexecute(StudioBuildJob job, BuildContext context, BuildCallback callback) getName()Returns the name of this executor (e.g., "local", "jenkins", "gitlab").booleanChecks if this executor is available and properly configured.
-
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
-
cancel
Cancels a running build job.- Parameters:
job- the build job to cancel
-