org.infrastructurebuilder.data.IbdataApiVersioning Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ibdata-api Show documentation
Show all versions of ibdata-api Show documentation
APIs for dealing with data streams
The newest version!
package org.infrastructurebuilder.data;
public final class IbdataApiVersioning {
final static String coordinates = "{" +
"\"groupId\" : \"" + getGroupId() + "\"" +
"," +
"\"artifactId\" : \"" + getArtifactId() + "\"" +
"," +
"\"version\" : \"" + getVersion() + "\"" +
"," +
"\"apiVersion\" : \"" + getApiVersion() + "\"" +
"," +
"\"extension\" : \"" + getExtension() + "\"" +
"}";
final static String xml = "" +
""+ getGroupId() + " " +
"" + getArtifactId() + " " +
"" + getVersion() + " " +
"" + getExtension() + " " +
" ";
public final static String getJSONCoordinates() {
return coordinates;
}
public final static String getXMLCoordinates() {
return xml;
}
public final static String getVersion() {
return "0.15.1";
}
public final static String getExtension() {
return "jar";
}
public final static String getGroupId() {
return "org.infrastructurebuilder.data";
}
public final static String getArtifactId() {
return "ibdata-api";
}
public final static String getApiVersion() {
String[] v = getVersion().split("\\.");
return v[0]+"." + v[1]; // This is risky
}
}