@Retention(value=RUNTIME) @Target(value={METHOD,TYPE,CONSTRUCTOR}) public @interface Api
"Compatible" is defined as follows:
Method: Its signature (i.e. name and parameters), and return type will remain.
Interface: Its name and all its declared methods with its return type and signature and static fields will remain. New methods and static field might be added.
Enum: Its elements will remain and their individual order will remain. New elements might be added.
Modifier and Type | Required Element and Description |
---|---|
String |
version
Returns the current API version.
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
snapshot
Returns if this API version is a snapshot, i.e.
|
public abstract String version
Copyright © 2016 Speedment, Inc.. All rights reserved.