All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infrastructurebuilder.data.IbdataApiVersioning Maven / Gradle / Ivy

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
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy