@Beta public class ArtifactSummary extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected ArtifactScope |
scope |
protected String |
version |
| Constructor and Description |
|---|
ArtifactSummary(String name,
String version) |
ArtifactSummary(String name,
String version,
ArtifactScope scope) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static ArtifactSummary |
from(ArtifactId artifactId) |
static ArtifactSummary |
from(Id.Artifact artifactId) |
String |
getName() |
ArtifactScope |
getScope() |
String |
getVersion() |
int |
hashCode() |
String |
toString() |
protected final String name
protected final String version
protected final ArtifactScope scope
public ArtifactSummary(String name, String version, ArtifactScope scope)
public static ArtifactSummary from(Id.Artifact artifactId)
public static ArtifactSummary from(ArtifactId artifactId)
public String getName()
public String getVersion()
public ArtifactScope getScope()
Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.