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 /chain | |
parent | a488130319ebe8ac4b3dde3cd6a1131e114f3774 (diff) |
Enable abi-check-plugin on relevant modules.
Diffstat (limited to 'chain')
-rw-r--r-- | chain/abi-spec.json | 136 | ||||
-rwxr-xr-x | chain/pom.xml | 16 |
2 files changed, 152 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..8b7682e710d 100755 --- a/chain/pom.xml +++ b/chain/pom.xml @@ -104,6 +104,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> |