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

org.opentripplanner.api.model.serverinfo.ApiProjectVersion Maven / Gradle / Ivy

package org.opentripplanner.api.model.serverinfo;

import org.opentripplanner.model.projectinfo.MavenProjectVersion;

public class ApiProjectVersion {

  private final MavenProjectVersion projectVersion;

  public ApiProjectVersion(MavenProjectVersion version) {
    this.projectVersion = version;
  }

  public String getVersion() { return projectVersion.version; }

  public int getMajor() { return projectVersion.major; }

  public int getMinor() { return projectVersion.minor; }

  public int getPatch() { return projectVersion.patch; }

  public String getQualifier() { return projectVersion.qualifier; }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy