org.apache.maven.continuum.model.project
Class BuildResult

java.lang.Object
  extended by org.apache.maven.continuum.model.project.BuildResult
All Implemented Interfaces:
Serializable

public class BuildResult
extends Object
implements Serializable

This class is a single continuum build.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
BuildResult()
           
 
Method Summary
 void addModifiedDependency(ProjectDependency projectDependency)
          Method addModifiedDependency.
 void breakProjectAssociation(Project project)
          Method breakProjectAssociation.
 void createProjectAssociation(Project project)
          Method createProjectAssociation.
 boolean equals(Object other)
          Method equals.
 BuildDefinition getBuildDefinition()
          Get the buildDefinition field.
 int getBuildNumber()
          Get the buildNumber field.
 String getBuildUrl()
          Get the buildUrl field.
 String getDurationTime()
           
 String getElapsedTime()
           
 long getEndTime()
          Get the endTime field.
 String getError()
          Get the error field.
 int getExitCode()
          Get the exitCode field.
 int getId()
          Get the id field.
 long getLastChangedDate()
          Get the lastChangedDate field.
 List<ProjectDependency> getModifiedDependencies()
          Method getModifiedDependencies.
 Project getProject()
          Get the project field.
 ScmResult getScmResult()
          Get the scmResult field.
 long getStartTime()
          Get the startTime field.
 int getState()
          Get the state field.
 int getTrigger()
          Get the trigger field.
 String getUsername()
          Get the username field.
 int hashCode()
          Method hashCode.
 boolean isSuccess()
          Get the success field.
 void removeModifiedDependency(ProjectDependency projectDependency)
          Method removeModifiedDependency.
 void setBuildDefinition(BuildDefinition buildDefinition)
          Set the buildDefinition field.
 void setBuildNumber(int buildNumber)
          Set the buildNumber field.
 void setBuildUrl(String buildUrl)
          Set the buildUrl field.
 void setEndTime(long endTime)
          Set the endTime field.
 void setError(String error)
          Set the error field.
 void setExitCode(int exitCode)
          Set the exitCode field.
 void setId(int id)
          Set the id field.
 void setLastChangedDate(long lastChangedDate)
          Set the lastChangedDate field.
 void setModifiedDependencies(List<ProjectDependency> modifiedDependencies)
          Set the modifiedDependencies field.
 void setProject(Project project)
          Set the project field.
 void setScmResult(ScmResult scmResult)
          Set the scmResult field.
 void setStartTime(long startTime)
          Set the startTime field.
 void setState(int state)
          Set the state field.
 void setSuccess(boolean success)
          Set the success field.
 void setTrigger(int trigger)
          Set the trigger field.
 void setUsername(String username)
          Set the username field.
 String toString()
          Method toString.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BuildResult

public BuildResult()
Method Detail

addModifiedDependency

public void addModifiedDependency(ProjectDependency projectDependency)
Method addModifiedDependency.

Parameters:
projectDependency -

breakProjectAssociation

public void breakProjectAssociation(Project project)
Method breakProjectAssociation.

Parameters:
project -

createProjectAssociation

public void createProjectAssociation(Project project)
Method createProjectAssociation.

Parameters:
project -

equals

public boolean equals(Object other)
Method equals.

Overrides:
equals in class Object
Parameters:
other -
Returns:
boolean

getBuildDefinition

public BuildDefinition getBuildDefinition()
Get the buildDefinition field.

Returns:
BuildDefinition

getBuildNumber

public int getBuildNumber()
Get the buildNumber field.

Returns:
int

getBuildUrl

public String getBuildUrl()
Get the buildUrl field.

Returns:
String

getEndTime

public long getEndTime()
Get the endTime field.

Returns:
long

getError

public String getError()
Get the error field.

Returns:
String

getExitCode

public int getExitCode()
Get the exitCode field.

Returns:
int

getId

public int getId()
Get the id field.

Returns:
int

getLastChangedDate

public long getLastChangedDate()
Get the lastChangedDate field.

Returns:
long

getModifiedDependencies

public List<ProjectDependency> getModifiedDependencies()
Method getModifiedDependencies.

Returns:
List

getProject

public Project getProject()
Get the project field.

Returns:
Project

getScmResult

public ScmResult getScmResult()
Get the scmResult field.

Returns:
ScmResult

getStartTime

public long getStartTime()
Get the startTime field.

Returns:
long

getState

public int getState()
Get the state field.

Returns:
int

getTrigger

public int getTrigger()
Get the trigger field.

Returns:
int

getUsername

public String getUsername()
Get the username field.

Returns:
String

hashCode

public int hashCode()
Method hashCode.

Overrides:
hashCode in class Object
Returns:
int

isSuccess

public boolean isSuccess()
Get the success field.

Returns:
boolean

removeModifiedDependency

public void removeModifiedDependency(ProjectDependency projectDependency)
Method removeModifiedDependency.

Parameters:
projectDependency -

setBuildDefinition

public void setBuildDefinition(BuildDefinition buildDefinition)
Set the buildDefinition field.

Parameters:
buildDefinition -

setBuildNumber

public void setBuildNumber(int buildNumber)
Set the buildNumber field.

Parameters:
buildNumber -

setBuildUrl

public void setBuildUrl(String buildUrl)
Set the buildUrl field.

Parameters:
buildUrl -

setEndTime

public void setEndTime(long endTime)
Set the endTime field.

Parameters:
endTime -

setError

public void setError(String error)
Set the error field.

Parameters:
error -

setExitCode

public void setExitCode(int exitCode)
Set the exitCode field.

Parameters:
exitCode -

setId

public void setId(int id)
Set the id field.

Parameters:
id -

setLastChangedDate

public void setLastChangedDate(long lastChangedDate)
Set the lastChangedDate field.

Parameters:
lastChangedDate -

setModifiedDependencies

public void setModifiedDependencies(List<ProjectDependency> modifiedDependencies)
Set the modifiedDependencies field.

Parameters:
modifiedDependencies -

setProject

public void setProject(Project project)
Set the project field.

Parameters:
project -

setScmResult

public void setScmResult(ScmResult scmResult)
Set the scmResult field.

Parameters:
scmResult -

setStartTime

public void setStartTime(long startTime)
Set the startTime field.

Parameters:
startTime -

setState

public void setState(int state)
Set the state field.

Parameters:
state -

setSuccess

public void setSuccess(boolean success)
Set the success field.

Parameters:
success -

setTrigger

public void setTrigger(int trigger)
Set the trigger field.

Parameters:
trigger -

setUsername

public void setUsername(String username)
Set the username field.

Parameters:
username -

toString

public String toString()
Method toString.

Overrides:
toString in class Object
Returns:
String

getElapsedTime

public String getElapsedTime()

getDurationTime

public String getDurationTime()


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.