aboutsummaryrefslogtreecommitdiffstats
path: root/chain
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 /chain
parent5251626df44e98457ea111f440d9a79cb6033075 (diff)
Revert "Revert "Enable ABI checking on modules with public APIs""
This reverts commit cd470d8ac8a58c943748f028a37d864507628e99.
Diffstat (limited to 'chain')
-rw-r--r--chain/abi-spec.json136
-rwxr-xr-xchain/pom.xml4
2 files changed, 140 insertions, 0 deletions
diff --git a/chain/abi-spec.json b/chain/abi-spec.json
new file mode 100644
index 00000000000..300f98d82fd
--- /dev/null
+++ b/chain/abi-spec.json
@@ -0,0 +1,136 @@
+{
+ "com.yahoo.component.chain.Chain": {
+ "superClass": "java.lang.Object",
+ "interfaces": [],
+ "attributes": [
+ "public"
+ ],
+ "methods": [
+ "public void <init>(java.lang.String, java.util.List)",
+ "public void <init>(com.yahoo.component.ComponentId, java.util.List)",
+ "public void <init>(java.util.List)",
+ "public varargs void <init>(com.yahoo.component.chain.ChainedComponent[])",
+ "public varargs void <init>(java.lang.String, com.yahoo.component.chain.ChainedComponent[])",
+ "public varargs void <init>(com.yahoo.component.ComponentId, com.yahoo.component.chain.ChainedComponent[])",
+ "public void <init>(com.yahoo.component.ComponentId, java.util.Collection, java.util.Collection)",
+ "public com.yahoo.component.ComponentId getId()",
+ "public java.util.List components()",
+ "public java.lang.String toString()",
+ "public boolean equals(java.lang.Object)",
+ "public int hashCode()"
+ ],
+ "fields": []
+ },
+ "com.yahoo.component.chain.ChainedComponent": {
+ "superClass": "com.yahoo.component.AbstractComponent",
+ "interfaces": [],
+ "attributes": [
+ "public",
+ "abstract"
+ ],
+ "methods": [
+ "public void <init>(com.yahoo.component.ComponentId)",
+ "protected void <init>()",
+ "public void initDependencies(com.yahoo.component.chain.dependencies.Dependencies)",
+ "public com.yahoo.component.chain.dependencies.Dependencies getDependencies()",
+ "protected com.yahoo.component.chain.dependencies.Dependencies getDefaultAnnotatedDependencies()",
+ "protected com.yahoo.component.chain.dependencies.Dependencies getAnnotatedDependencies(java.lang.Class, java.lang.Class, java.lang.Class)"
+ ],
+ "fields": []
+ },
+ "com.yahoo.component.chain.ChainsConfigurer": {
+ "superClass": "java.lang.Object",
+ "interfaces": [],
+ "attributes": [
+ "public"
+ ],
+ "methods": [
+ "public void <init>()",
+ "public static void prepareChainRegistry(com.yahoo.component.provider.ComponentRegistry, com.yahoo.component.chain.model.ChainsModel, com.yahoo.component.provider.ComponentRegistry)"
+ ],
+ "fields": []
+ },
+ "com.yahoo.component.chain.Phase": {
+ "superClass": "java.lang.Object",
+ "interfaces": [],
+ "attributes": [
+ "public"
+ ],
+ "methods": [
+ "public void <init>(java.lang.String, java.util.Set, java.util.Set)",
+ "public void <init>(java.lang.String, com.yahoo.component.chain.dependencies.Dependencies)",
+ "public java.lang.String getName()",
+ "public java.util.Set before()",
+ "public java.util.Set after()",
+ "public com.yahoo.component.chain.Phase union(com.yahoo.component.chain.Phase)"
+ ],
+ "fields": [
+ "public final com.yahoo.component.chain.dependencies.Dependencies dependencies"
+ ]
+ },
+ "com.yahoo.component.chain.dependencies.After": {
+ "superClass": "java.lang.Object",
+ "interfaces": [
+ "java.lang.annotation.Annotation"
+ ],
+ "attributes": [
+ "public",
+ "interface",
+ "abstract",
+ "annotation"
+ ],
+ "methods": [
+ "public abstract java.lang.String[] value()"
+ ],
+ "fields": []
+ },
+ "com.yahoo.component.chain.dependencies.Before": {
+ "superClass": "java.lang.Object",
+ "interfaces": [
+ "java.lang.annotation.Annotation"
+ ],
+ "attributes": [
+ "public",
+ "interface",
+ "abstract",
+ "annotation"
+ ],
+ "methods": [
+ "public abstract java.lang.String[] value()"
+ ],
+ "fields": []
+ },
+ "com.yahoo.component.chain.dependencies.Dependencies": {
+ "superClass": "java.lang.Object",
+ "interfaces": [],
+ "attributes": [
+ "public"
+ ],
+ "methods": [
+ "public void <init>(java.util.Collection, java.util.Collection, java.util.Collection)",
+ "public static com.yahoo.component.chain.dependencies.Dependencies emptyDependencies()",
+ "public com.yahoo.component.chain.dependencies.Dependencies union(com.yahoo.component.chain.dependencies.Dependencies)",
+ "public java.lang.String toString()",
+ "public java.util.Set provides()",
+ "public java.util.Set before()",
+ "public java.util.Set after()"
+ ],
+ "fields": []
+ },
+ "com.yahoo.component.chain.dependencies.Provides": {
+ "superClass": "java.lang.Object",
+ "interfaces": [
+ "java.lang.annotation.Annotation"
+ ],
+ "attributes": [
+ "public",
+ "interface",
+ "abstract",
+ "annotation"
+ ],
+ "methods": [
+ "public abstract java.lang.String[] value()"
+ ],
+ "fields": []
+ }
+} \ No newline at end of file
diff --git a/chain/pom.xml b/chain/pom.xml
index 01a64a93609..cf82376b857 100755
--- a/chain/pom.xml
+++ b/chain/pom.xml
@@ -104,6 +104,10 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>com.yahoo.vespa</groupId>
+ <artifactId>abi-check-plugin</artifactId>
+ </plugin>
</plugins>
</build>
</project>