summaryrefslogtreecommitdiffstats
path: root/fileacquirer
diff options
context:
space:
mode:
authorIlpo Ruotsalainen <ilpo.ruotsalainen@oath.com>2019-01-09 11:28:21 +0100
committerIlpo Ruotsalainen <ilpo.ruotsalainen@oath.com>2019-01-09 11:28:21 +0100
commit3f9796c5aec7ecc2461cb1c4819ed0adfedfead3 (patch)
treef5af74cf9e7901864a42113e6853c6d1ee2b0bed /fileacquirer
parent5251626df44e98457ea111f440d9a79cb6033075 (diff)
Revert "Revert "Enable ABI checking on modules with public APIs""
This reverts commit cd470d8ac8a58c943748f028a37d864507628e99.
Diffstat (limited to 'fileacquirer')
-rw-r--r--fileacquirer/abi-spec.json82
-rw-r--r--fileacquirer/pom.xml4
2 files changed, 86 insertions, 0 deletions
diff --git a/fileacquirer/abi-spec.json b/fileacquirer/abi-spec.json
new file mode 100644
index 00000000000..fce78c7e199
--- /dev/null
+++ b/fileacquirer/abi-spec.json
@@ -0,0 +1,82 @@
+{
+ "com.yahoo.filedistribution.fileacquirer.FileAcquirer": {
+ "superClass": "java.lang.Object",
+ "interfaces": [],
+ "attributes": [
+ "public",
+ "interface",
+ "abstract"
+ ],
+ "methods": [
+ "public abstract java.io.File waitFor(com.yahoo.config.FileReference, long, java.util.concurrent.TimeUnit)",
+ "public abstract void shutdown()"
+ ],
+ "fields": []
+ },
+ "com.yahoo.filedistribution.fileacquirer.FileAcquirerFactory": {
+ "superClass": "java.lang.Object",
+ "interfaces": [],
+ "attributes": [
+ "public"
+ ],
+ "methods": [
+ "public void <init>()",
+ "public static com.yahoo.filedistribution.fileacquirer.FileAcquirer create(java.lang.String)"
+ ],
+ "fields": []
+ },
+ "com.yahoo.filedistribution.fileacquirer.FileReferenceDoesNotExistException": {
+ "superClass": "java.lang.RuntimeException",
+ "interfaces": [],
+ "attributes": [
+ "public"
+ ],
+ "methods": [],
+ "fields": [
+ "public final java.lang.String fileReference"
+ ]
+ },
+ "com.yahoo.filedistribution.fileacquirer.FileReferenceRemovedException": {
+ "superClass": "java.lang.RuntimeException",
+ "interfaces": [],
+ "attributes": [
+ "public"
+ ],
+ "methods": [],
+ "fields": [
+ "public final java.lang.String fileReference"
+ ]
+ },
+ "com.yahoo.filedistribution.fileacquirer.MockFileAcquirer": {
+ "superClass": "java.lang.Object",
+ "interfaces": [
+ "com.yahoo.filedistribution.fileacquirer.FileAcquirer"
+ ],
+ "attributes": [
+ "public",
+ "abstract"
+ ],
+ "methods": [
+ "public void <init>()",
+ "public static com.yahoo.filedistribution.fileacquirer.FileAcquirer returnFile(java.io.File)",
+ "public static com.yahoo.filedistribution.fileacquirer.FileAcquirer returnFiles(java.util.Map)",
+ "public static com.yahoo.filedistribution.fileacquirer.FileAcquirer throwTimeoutException()",
+ "public static com.yahoo.filedistribution.fileacquirer.FileAcquirer throwFileReferenceDoesNotExistException()",
+ "public void shutdown()"
+ ],
+ "fields": []
+ },
+ "com.yahoo.filedistribution.fileacquirer.TimeoutException": {
+ "superClass": "java.lang.RuntimeException",
+ "interfaces": [],
+ "attributes": [
+ "public"
+ ],
+ "methods": [
+ "public void <init>()",
+ "public void <init>(java.lang.String)",
+ "public void <init>(java.lang.String, java.lang.Throwable)"
+ ],
+ "fields": []
+ }
+} \ No newline at end of file
diff --git a/fileacquirer/pom.xml b/fileacquirer/pom.xml
index 6449b8c620f..9980b6bd84b 100644
--- a/fileacquirer/pom.xml
+++ b/fileacquirer/pom.xml
@@ -38,6 +38,10 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>com.yahoo.vespa</groupId>
+ <artifactId>abi-check-plugin</artifactId>
+ </plugin>
</plugins>
</build>
</project>