Skip to content

Commit e70c4e1

Browse files
committed
#409 Added extension point to WatchTask
1 parent 8e02997 commit e70c4e1

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group=com.marklogic
2-
version=3.10.1
2+
version=3.10.2
33
javadocsDir=../gh-pages-marklogic-java/javadocs
44

55
mlAppDeployerDependency=com.marklogic:ml-app-deployer:3.10.1

src/main/groovy/com/marklogic/gradle/task/client/WatchTask.groovy

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,21 @@ class WatchTask extends MarkLogicTask {
8282
onModulesLoaded.accept(loadedModules)
8383
}
8484
}
85+
86+
afterModulesLoaded()
87+
8588
try {
8689
Thread.sleep(sleepTime);
8790
} catch (InterruptedException ie) {
8891
// Ignore
8992
}
9093
}
9194
}
95+
96+
/**
97+
* Exists primarily so that DHF's extension of this class can invoke DHF-specific logic for loading modules.
98+
*/
99+
void afterModulesLoaded() {
100+
101+
}
92102
}

0 commit comments

Comments
 (0)