public final class BuildPtr extends Object implements Comparable<BuildPtr>
Modifier and Type | Field and Description |
---|---|
String |
id
Timestamp build ID.
|
int |
n
Build number found from the disk.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(BuildPtr that) |
void |
fix(TaskListener listener)
Fix the problem by moving the out of order builds into a place that Jenkins won't look at.
|
boolean |
isInconsistentWith(BuildPtr that)
If this build and that build are inconsistent, in that
their numbers and timestamps are ordering in the wrong direction.
|
String |
toString() |
public final String id
public final int n
public boolean isInconsistentWith(BuildPtr that)
public void fix(TaskListener listener) throws IOException, InterruptedException
IOException
InterruptedException
public int compareTo(BuildPtr that)
compareTo
in interface Comparable<BuildPtr>
Copyright © 2016. All rights reserved.