-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #129 from TheRoddyWMS/FixesForJobManagerIssues
Some fixes for JobManager issues
- Loading branch information
Showing
5 changed files
with
117 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/main/groovy/de/dkfz/roddy/execution/jobs/UpdateDaemonListener.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
* Copyright (c) 2018 German Cancer Research Center (Deutsches Krebsforschungszentrum, DKFZ). | ||
* | ||
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/COWorkflowsBasePlugin/LICENSE.txt). | ||
*/ | ||
package de.dkfz.roddy.execution.jobs | ||
|
||
import groovy.transform.CompileStatic | ||
|
||
/** | ||
* Listener interface for ended jobs, if the update daemon is active. | ||
* Use JobManager.addUpdateDaemonListener to add a listener. | ||
*/ | ||
@CompileStatic | ||
interface UpdateDaemonListener { | ||
void jobEnded(BEJob job, JobState state) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters