|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjetbrains.buildServer.serverSide.vcs.VcsLabel
public class VcsLabel
Data object. Contains information about vcs label set for some specified build on the specified vcs root.
| Nested Class Summary | |
|---|---|
static class |
VcsLabel.VcsLabelStatus
Presents vcs labeling process status |
| Constructor Summary | |
|---|---|
VcsLabel(VcsRootInstance root,
Build build,
VcsLabel.VcsLabelStatus status,
java.lang.String labelText,
java.lang.String failureReason)
Creates new vcs label info object. |
|
| Method Summary | |
|---|---|
Build |
getBuild()
Build for which the label is set. |
java.lang.String |
getFailureReason()
Returns failure reason if set label process failed. |
java.lang.String |
getLabelText()
Label value. |
VcsRootInstance |
getRoot()
Vcs for for which the label is set. |
VcsLabel.VcsLabelStatus |
getStatus()
Set label status. |
java.lang.String |
getStatusText()
|
boolean |
isFailed()
Returns if labeling process status is failed. |
boolean |
isSuccessful()
Returns if labeling process status is successful. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VcsLabel(VcsRootInstance root,
Build build,
VcsLabel.VcsLabelStatus status,
java.lang.String labelText,
java.lang.String failureReason)
root - labeled root.build - labeled build.status - labelinf process result status.labelText - label text.failureReason - null if labeling is successful, failure reason otherwise.| Method Detail |
|---|
public VcsRootInstance getRoot()
public Build getBuild()
public VcsLabel.VcsLabelStatus getStatus()
public java.lang.String getLabelText()
public java.lang.String getFailureReason()
public boolean isSuccessful()
public boolean isFailed()
public java.lang.String getStatusText()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||