Class JobBuildResult

java.lang.Object
hudson.plugins.global_build_stats.model.JobBuildResult
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JobBuildSearchResult

public class JobBuildResult extends Object implements Serializable
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:
  • Field Details

    • EMPTY_DURATION

      public static final long EMPTY_DURATION
      See Also:
    • EMPTY_NODE_NAME

      public static final String EMPTY_NODE_NAME
    • EMPTY_USER_NAME

      public static final String EMPTY_USER_NAME
    • MASTER_NODE_NAME

      public static final String MASTER_NODE_NAME
      See Also:
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getResult

      public BuildResult getResult()
    • getJobName

      public String getJobName()
    • getBuildDate

      public Calendar getBuildDate()
    • getBuildNumber

      public int getBuildNumber()
    • getDuration

      public long getDuration()
    • getNodeName

      public String getNodeName()
    • isJobBuiltOnMaster

      public boolean isJobBuiltOnMaster()
    • isDurationEmpty

      public boolean isDurationEmpty()
    • isUserNameEmpty

      public boolean isUserNameEmpty()
    • isNodeNameEmpty

      public boolean isNodeNameEmpty()
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • is

      public boolean is(int buildNumber, String jobName, BuildResult result)
    • setDuration

      public void setDuration(long duration)
    • setNodeName

      public void setNodeName(String nodeName)
    • getUserName

      public String getUserName()
    • setUserName

      public void setUserName(String userName)