diff options
author | Ilpo Ruotsalainen <ilpo.ruotsalainen@oath.com> | 2019-01-09 11:28:21 +0100 |
---|---|---|
committer | Ilpo Ruotsalainen <ilpo.ruotsalainen@oath.com> | 2019-01-09 11:28:21 +0100 |
commit | 3f9796c5aec7ecc2461cb1c4819ed0adfedfead3 (patch) | |
tree | f5af74cf9e7901864a42113e6853c6d1ee2b0bed /yolean | |
parent | 5251626df44e98457ea111f440d9a79cb6033075 (diff) |
Revert "Revert "Enable ABI checking on modules with public APIs""
This reverts commit cd470d8ac8a58c943748f028a37d864507628e99.
Diffstat (limited to 'yolean')
-rw-r--r-- | yolean/abi-spec.json | 327 | ||||
-rw-r--r-- | yolean/pom.xml | 4 |
2 files changed, 331 insertions, 0 deletions
diff --git a/yolean/abi-spec.json b/yolean/abi-spec.json new file mode 100644 index 00000000000..4b68b2527b8 --- /dev/null +++ b/yolean/abi-spec.json @@ -0,0 +1,327 @@ +{ + "com.yahoo.yolean.Exceptions$RunnableThrowingIOException": { + "superClass": "java.lang.Object", + "interfaces": [], + "attributes": [ + "public", + "interface", + "abstract" + ], + "methods": [ + "public abstract void run()" + ], + "fields": [] + }, + "com.yahoo.yolean.Exceptions$SupplierThrowingIOException": { + "superClass": "java.lang.Object", + "interfaces": [], + "attributes": [ + "public", + "interface", + "abstract" + ], + "methods": [ + "public abstract java.lang.Object get()" + ], + "fields": [] + }, + "com.yahoo.yolean.Exceptions": { + "superClass": "java.lang.Object", + "interfaces": [], + "attributes": [ + "public" + ], + "methods": [ + "public void <init>()", + "public static java.lang.String toMessageString(java.lang.Throwable)", + "public static java.util.Optional findCause(java.lang.Throwable, java.lang.Class)", + "public static void uncheck(com.yahoo.yolean.Exceptions$RunnableThrowingIOException)", + "public static varargs void uncheck(com.yahoo.yolean.Exceptions$RunnableThrowingIOException, java.lang.String, java.lang.String[])", + "public static void uncheckAndIgnore(com.yahoo.yolean.Exceptions$RunnableThrowingIOException, java.lang.Class)", + "public static java.lang.Object uncheck(com.yahoo.yolean.Exceptions$SupplierThrowingIOException)", + "public static varargs java.lang.Object uncheck(com.yahoo.yolean.Exceptions$SupplierThrowingIOException, java.lang.String, java.lang.String[])", + "public static java.lang.Object uncheckAndIgnore(com.yahoo.yolean.Exceptions$SupplierThrowingIOException, java.lang.Class)" + ], + "fields": [] + }, + "com.yahoo.yolean.chain.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.yolean.chain.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.yolean.chain.Chain": { + "superClass": "java.lang.Object", + "interfaces": [ + "java.lang.Iterable" + ], + "attributes": [ + "public", + "final" + ], + "methods": [ + "public varargs void <init>(java.lang.String, java.lang.Object[])", + "public void <init>(java.lang.String, java.util.List)", + "public java.lang.String id()", + "public boolean isEmpty()", + "public java.util.Iterator iterator()", + "public java.lang.String toString()", + "public int hashCode()", + "public boolean equals(java.lang.Object)", + "public boolean equals(com.yahoo.yolean.chain.Chain)" + ], + "fields": [] + }, + "com.yahoo.yolean.chain.ChainBuilder": { + "superClass": "java.lang.Object", + "interfaces": [], + "attributes": [ + "public", + "final" + ], + "methods": [ + "public void <init>(java.lang.String)", + "public final varargs com.yahoo.yolean.chain.ChainBuilder add(java.lang.Object, com.yahoo.yolean.chain.Dependencies[])", + "public com.yahoo.yolean.chain.Chain build()" + ], + "fields": [] + }, + "com.yahoo.yolean.chain.ChainCycleException": { + "superClass": "java.lang.RuntimeException", + "interfaces": [], + "attributes": [ + "public" + ], + "methods": [ + "public void <init>(java.util.List)", + "public java.util.List components()" + ], + "fields": [] + }, + "com.yahoo.yolean.chain.Dependencies": { + "superClass": "java.lang.Object", + "interfaces": [], + "attributes": [ + "public" + ], + "methods": [ + "public static varargs com.yahoo.yolean.chain.Dependencies before(java.lang.Object[])", + "public static varargs com.yahoo.yolean.chain.Dependencies before(java.lang.Class[])", + "public static varargs com.yahoo.yolean.chain.Dependencies before(java.lang.String[])", + "public static varargs com.yahoo.yolean.chain.Dependencies after(java.lang.Object[])", + "public static varargs com.yahoo.yolean.chain.Dependencies after(java.lang.Class[])", + "public static varargs com.yahoo.yolean.chain.Dependencies after(java.lang.String[])", + "public static varargs com.yahoo.yolean.chain.Dependencies provides(java.lang.String[])", + "public static com.yahoo.yolean.chain.Dependencies emptyDependencies()" + ], + "fields": [] + }, + "com.yahoo.yolean.chain.Provides": { + "superClass": "java.lang.Object", + "interfaces": [ + "java.lang.annotation.Annotation" + ], + "attributes": [ + "public", + "interface", + "abstract", + "annotation" + ], + "methods": [ + "public abstract java.lang.String[] value()" + ], + "fields": [] + }, + "com.yahoo.yolean.concurrent.ConcurrentResourcePool": { + "superClass": "java.lang.Object", + "interfaces": [ + "java.lang.Iterable" + ], + "attributes": [ + "public" + ], + "methods": [ + "public void <init>(com.yahoo.yolean.concurrent.ResourceFactory)", + "public final java.lang.Object alloc()", + "public final void free(java.lang.Object)", + "public java.util.Iterator iterator()" + ], + "fields": [] + }, + "com.yahoo.yolean.concurrent.CopyOnWriteHashMap": { + "superClass": "java.lang.Object", + "interfaces": [ + "java.util.Map" + ], + "attributes": [ + "public" + ], + "methods": [ + "public void <init>()", + "public int size()", + "public boolean isEmpty()", + "public boolean containsKey(java.lang.Object)", + "public boolean containsValue(java.lang.Object)", + "public java.lang.Object get(java.lang.Object)", + "public java.lang.Object put(java.lang.Object, java.lang.Object)", + "public java.lang.Object remove(java.lang.Object)", + "public void putAll(java.util.Map)", + "public void clear()", + "public java.util.Set keySet()", + "public java.util.Collection values()", + "public java.util.Set entrySet()" + ], + "fields": [] + }, + "com.yahoo.yolean.concurrent.ResourceFactory": { + "superClass": "java.lang.Object", + "interfaces": [], + "attributes": [ + "public", + "abstract" + ], + "methods": [ + "public void <init>()", + "public abstract java.lang.Object create()" + ], + "fields": [] + }, + "com.yahoo.yolean.concurrent.ResourcePool": { + "superClass": "java.lang.Object", + "interfaces": [ + "java.lang.Iterable" + ], + "attributes": [ + "public", + "final" + ], + "methods": [ + "public void <init>(com.yahoo.yolean.concurrent.ResourceFactory)", + "public final java.lang.Object alloc()", + "public final void free(java.lang.Object)", + "public java.util.Iterator iterator()" + ], + "fields": [] + }, + "com.yahoo.yolean.concurrent.ThreadRobustList": { + "superClass": "java.lang.Object", + "interfaces": [ + "java.lang.Iterable" + ], + "attributes": [ + "public" + ], + "methods": [ + "public void <init>()", + "public void <init>(int)", + "public boolean isEmpty()", + "public void add(java.lang.Object)", + "public java.util.Iterator iterator()" + ], + "fields": [] + }, + "com.yahoo.yolean.function.ThrowingConsumer": { + "superClass": "java.lang.Object", + "interfaces": [], + "attributes": [ + "public", + "interface", + "abstract" + ], + "methods": [ + "public abstract void accept(java.lang.Object)", + "public com.yahoo.yolean.function.ThrowingConsumer andThen(com.yahoo.yolean.function.ThrowingConsumer)" + ], + "fields": [] + }, + "com.yahoo.yolean.function.ThrowingFunction": { + "superClass": "java.lang.Object", + "interfaces": [], + "attributes": [ + "public", + "interface", + "abstract" + ], + "methods": [ + "public abstract java.lang.Object apply(java.lang.Object)", + "public com.yahoo.yolean.function.ThrowingFunction andThen(com.yahoo.yolean.function.ThrowingFunction)", + "public com.yahoo.yolean.function.ThrowingFunction compose(com.yahoo.yolean.function.ThrowingFunction)" + ], + "fields": [] + }, + "com.yahoo.yolean.function.ThrowingSupplier": { + "superClass": "java.lang.Object", + "interfaces": [], + "attributes": [ + "public", + "interface", + "abstract" + ], + "methods": [ + "public abstract java.lang.Object get()" + ], + "fields": [] + }, + "com.yahoo.yolean.trace.TraceNode": { + "superClass": "java.lang.Object", + "interfaces": [], + "attributes": [ + "public" + ], + "methods": [ + "public void <init>(java.lang.Object, long)", + "public com.yahoo.yolean.trace.TraceNode add(com.yahoo.yolean.trace.TraceNode)", + "public java.lang.Iterable descendants(java.lang.Class)", + "public java.lang.Object payload()", + "public long timestamp()", + "public com.yahoo.yolean.trace.TraceNode parent()", + "public java.lang.Iterable children()", + "public boolean isRoot()", + "public com.yahoo.yolean.trace.TraceNode root()", + "public com.yahoo.yolean.trace.TraceVisitor accept(com.yahoo.yolean.trace.TraceVisitor)", + "public java.lang.String toString()" + ], + "fields": [] + }, + "com.yahoo.yolean.trace.TraceVisitor": { + "superClass": "java.lang.Object", + "interfaces": [], + "attributes": [ + "public", + "abstract" + ], + "methods": [ + "public void <init>()", + "public abstract void visit(com.yahoo.yolean.trace.TraceNode)", + "public void entering(com.yahoo.yolean.trace.TraceNode)", + "public void leaving(com.yahoo.yolean.trace.TraceNode)" + ], + "fields": [] + } +}
\ No newline at end of file diff --git a/yolean/pom.xml b/yolean/pom.xml index a55ab923fcc..3b1f8887906 100644 --- a/yolean/pom.xml +++ b/yolean/pom.xml @@ -51,6 +51,10 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> </plugin> + <plugin> + <groupId>com.yahoo.vespa</groupId> + <artifactId>abi-check-plugin</artifactId> + </plugin> </plugins> </build> </project> |