Class JobBuildResult
java.lang.Object
hudson.plugins.global_build_stats.model.JobBuildResult
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JobBuildSearchResult
Data persisted in the end of every build
WARNING : if any change is made to this class, don't miss to create a new
data migrator in the hudson.plugins.global_build_stats.xstream.migration package !
- Author:
- fcamblor
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionJobBuildResult
(BuildResult _result, String _jobName, int _buildNumber, Calendar _buildDate, long duration, String nodeName, String _userName) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
long
boolean
is
(int buildNumber, String jobName, BuildResult result) boolean
boolean
boolean
boolean
void
setDuration
(long duration) void
setNodeName
(String nodeName) void
setUserName
(String userName) toString()
-
Field Details
-
EMPTY_DURATION
public static final long EMPTY_DURATION- See Also:
-
EMPTY_NODE_NAME
-
EMPTY_USER_NAME
-
MASTER_NODE_NAME
- See Also:
-
-
Constructor Details
-
JobBuildResult
public JobBuildResult(BuildResult _result, String _jobName, int _buildNumber, Calendar _buildDate, long duration, String nodeName, String _userName)
-
-
Method Details
-
toString
-
getResult
-
getJobName
-
getBuildDate
-
getBuildNumber
public int getBuildNumber() -
getDuration
public long getDuration() -
getNodeName
-
isJobBuiltOnMaster
public boolean isJobBuiltOnMaster() -
isDurationEmpty
public boolean isDurationEmpty() -
isUserNameEmpty
public boolean isUserNameEmpty() -
isNodeNameEmpty
public boolean isNodeNameEmpty() -
equals
-
is
-
setDuration
public void setDuration(long duration) -
setNodeName
-
getUserName
-
setUserName
-