|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.model.Fingerprint.BuildPtr
@ExportedBean(defaultVisibility=2) public static class Fingerprint.BuildPtr
Pointer to a Build
.
Constructor Summary | |
---|---|
Fingerprint.BuildPtr(Run run)
|
|
Fingerprint.BuildPtr(String name,
int number)
|
Method Summary | |
---|---|
boolean |
belongsTo(Job job)
Returns true if Fingerprint.BuildPtr points to the given job
or one of its subordinates. |
AbstractProject |
getJob()
Gets the Job that this pointer points to,
or null if such a job no longer exists. |
String |
getName()
Gets the full name of the job . |
int |
getNumber()
Gets the project build number. |
Run |
getRun()
Gets the Job that this pointer points to,
or null if such a job no longer exists. |
boolean |
is(Job job)
Returns true if Fingerprint.BuildPtr points to the given job. |
boolean |
is(Run r)
Returns true if Fingerprint.BuildPtr points to the given run. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Fingerprint.BuildPtr(String name, int number)
public Fingerprint.BuildPtr(Run run)
Method Detail |
---|
@Exported public String getName()
the full name of the job
.
Such job could be since then removed,
so there might not be a corresponding
Job
.
public AbstractProject getJob()
Job
that this pointer points to,
or null if such a job no longer exists.
@Exported public int getNumber()
Such Run
could be since then
discarded.
public Run getRun()
Job
that this pointer points to,
or null if such a job no longer exists.
public boolean is(Run r)
Fingerprint.BuildPtr
points to the given run.
public boolean is(Job job)
Fingerprint.BuildPtr
points to the given job.
public boolean belongsTo(Job job)
Fingerprint.BuildPtr
points to the given job
or one of its subordinates.
This is useful to check if an artifact in MavenModule belongs to MavenModuleSet.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |