blob: 5afd09856e689c42b3474880ba75b0e60b785b71 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2017 SSI Schaefer IT Solutions GmbH and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* SSI Schaefer IT Solutions GmbH
*******************************************************************************/
package org.eclipse.tea.library.build.model;
/**
* Represents a library that is fetched from an external maven repository.
*/
public class MavenExternalJarBuild implements Comparable<MavenExternalJarBuild> {
private final String coordinates;
public MavenExternalJarBuild(String coordinates) {
this.coordinates = coordinates;
}
public String getCoordinates() {
return coordinates;
}
@Override
public int compareTo(MavenExternalJarBuild o) {
return coordinates.compareTo(o.coordinates);
}
@Override
public String toString() {
return "MVN [" + getCoordinates() + "]";
}
}