public class SourceMetadata extends Object implements com.google.jenkins.plugins.metadata.MetadataValue
| Modifier and Type | Field and Description |
|---|---|
static String |
SOURCE_KEY |
| Constructor and Description |
|---|
SourceMetadata(String scm,
String repoUrl,
String branch,
String revision,
String lastAuthor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBranch() |
String |
getKey() |
String |
getLastAuthor() |
String |
getRepoUrl() |
String |
getRevision() |
String |
getSCM() |
int |
hashCode() |
SourceMetadata |
mergeFrom(SourceMetadata other)
Returns a copy of this instance with empty fields filled in from the given
instance.
|
String |
toString() |
public static final String SOURCE_KEY
public String getSCM()
public String getRepoUrl()
public String getBranch()
public String getRevision()
public String getLastAuthor()
public String getKey()
getKey in interface com.google.jenkins.plugins.metadata.MetadataValuepublic SourceMetadata mergeFrom(SourceMetadata other)
Copyright © 2004-2014. All Rights Reserved.