Package jenkins.plugins.model
Class BuildMessage
java.lang.Object
jenkins.plugins.model.BuildMessage
- All Implemented Interfaces:
Serializable
,Comparable<BuildMessage>
,Comparator<BuildMessage>
public class BuildMessage
extends Object
implements Comparator<BuildMessage>, Comparable<BuildMessage>, Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionBuildMessage
(long buildNumber, long startTime, long duration, String result) -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(BuildMessage message1, BuildMessage message2) int
compareTo
(BuildMessage message) boolean
long
long
long
int
hashCode()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
BuildMessage
-
-
Method Details
-
getBuildNumber
public long getBuildNumber() -
getStartTime
public long getStartTime() -
getResult
-
getDuration
public long getDuration() -
compare
- Specified by:
compare
in interfaceComparator<BuildMessage>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<BuildMessage>
-
toString
-
equals
- Specified by:
equals
in interfaceComparator<BuildMessage>
- Overrides:
equals
in classObject
-
hashCode
public int hashCode()
-