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

io.codemodder.plugins.maven.operator.VersionQueryResponse Maven / Gradle / Ivy

There is a newer version: 0.98.6
Show newest version
package io.codemodder.plugins.maven.operator;

import com.github.zafarkhaja.semver.Version;

/** Represents a response to a version query, containing source and target version information. */
class VersionQueryResponse {

  private final Version source;
  private final Version target;

  /**
   * Constructs a new VersionQueryResponse with the specified source and target versions.
   *
   * @param source The source version information.
   * @param target The target version information.
   */
  public VersionQueryResponse(Version source, Version target) {
    this.source = source;
    this.target = target;
  }

  public Version getSource() {
    return source;
  }

  public Version getTarget() {
    return target;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy