diff options
author | Ilpo Ruotsalainen <ilpo.ruotsalainen@oath.com> | 2018-12-18 17:30:57 +0100 |
---|---|---|
committer | Ilpo Ruotsalainen <ilpo.ruotsalainen@oath.com> | 2018-12-18 17:42:09 +0100 |
commit | 377be9cc95ec9dfda8b733512d675a2e19a73486 (patch) | |
tree | a1cfb87212a094aa0b9fd9221f7d9081e327ff35 /fileacquirer | |
parent | a488130319ebe8ac4b3dde3cd6a1131e114f3774 (diff) |
Enable abi-check-plugin on relevant modules.
Diffstat (limited to 'fileacquirer')
-rw-r--r-- | fileacquirer/abi-spec.json | 82 | ||||
-rw-r--r-- | fileacquirer/pom.xml | 16 |
2 files changed, 98 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..aa500f36f4f 100644 --- a/fileacquirer/pom.xml +++ b/fileacquirer/pom.xml @@ -38,6 +38,22 @@ </execution> </executions> </plugin> + <plugin> + <groupId>com.yahoo.vespa</groupId> + <artifactId>abi-check-plugin</artifactId> + <version>${project.version}</version> + <configuration> + <publicApiAnnotation>com.yahoo.api.annotations.PublicApi</publicApiAnnotation> + </configuration> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>abicheck</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build> </project> |