public class Artifact extends Object
| Constructor and Description |
|---|
Artifact(String groupId,
String artifactId,
String version,
long timestamp,
String name)
Compatibility constructor for service objects that are generated with an initial version of the artifact version
service.
|
| Modifier and Type | Method and Description |
|---|---|
String |
formatTimestamp(String format,
TimeZone zone)
Format the build date and time using a given format and time zone.
|
public Artifact(String groupId, String artifactId, String version, long timestamp, String name)
groupId - the groupId property of the artifactartifactId - the artifactId property of the artifactversion - the version property of the artifacttimestamp - timestamp of buildname - the (optional) artifact nameCopyright © 2021. All rights reserved.