com.sun.istack.maven.ArtifactItem Maven / Gradle / Ivy
/*
* Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
package com.sun.istack.maven;
/**
*
* @author japod
*/
public class ArtifactItem {
private String artifactId;
private String groupId;
private String version;
public String getVersion() {
return version;
}
@Override
public String toString() {
return String.format("{groupId=%s, artifactId=%s, version=%s}", groupId, artifactId, version);
}
public void setVersion(String version) {
this.version = version;
}
public String getArtifactId() {
return artifactId;
}
public void setArtifactId(String artifactId) {
this.artifactId = artifactId;
}
public String getGroupId() {
return groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
}
}