|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.legacy.LegacyArtifact
public class LegacyArtifact
The components used to identify a build artifact that need to be kept.
| Field Summary |
|---|
| Fields inherited from interface com.atlassian.bamboo.build.Artifact |
|---|
ARTIFACT_COPY_PATTERN, ARTIFACT_LABEL, ARTIFACT_SRC_DIR |
| Constructor Summary | |
|---|---|
LegacyArtifact()
|
|
LegacyArtifact(String label,
String copyPattern,
String srcDirectory)
Create a build artifact identified in the UI by the label. |
|
| Method Summary | |
|---|---|
int |
compareTo(Object obj)
|
boolean |
equals(Object o)
|
String |
getCopyPattern()
What is the ANT copy style pattern used to copy the artifacts from the build directory. |
String |
getLabel()
What is the UI link label used to identify the artifact |
String |
getSrcDirectory()
The source directory relative to the build directory - e.g. |
int |
hashCode()
|
void |
populateFromConfig(HierarchicalConfiguration config)
Update the current object with data in the FieldValueItemHolder |
void |
setCopyPattern(String copyPattern)
|
void |
setLabel(String label)
What label should this artifact have? |
void |
setSrcDirectory(String srcDirectory)
|
HierarchicalConfiguration |
toConfiguration()
Generate a FieldValueItemHolder from the current state of the object |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LegacyArtifact()
public LegacyArtifact(String label,
String copyPattern,
String srcDirectory)
label - The UI text pabelcopyPattern - The ANT style copy pattern, relative to the source code directorysrcDirectory - | Method Detail |
|---|
public String getLabel()
getLabel in interface Artifactpublic void setLabel(String label)
setLabel in interface Artifactlabel - The labelpublic String getCopyPattern()
getCopyPattern in interface Artifactpublic void setCopyPattern(String copyPattern)
setCopyPattern in interface Artifactpublic String getSrcDirectory()
getSrcDirectory in interface Artifactpublic void setSrcDirectory(String srcDirectory)
setSrcDirectory in interface Artifactpublic void populateFromConfig(HierarchicalConfiguration config)
ConvertibleFromConfigFieldValueItemHolder
populateFromConfig in interface ConvertibleFromConfigpublic HierarchicalConfiguration toConfiguration()
ConvertibleFromConfigFieldValueItemHolder from the current state of the object
toConfiguration in interface ConvertibleFromConfigFieldValueItemHolder. Never nullpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Objectpublic int compareTo(Object obj)
compareTo in interface Comparable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||