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

java.lang.Object
  extended by org.apache.maven.continuum.model.project.v1_0_9.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 breakProjectAssociation(Project project)
          Method breakProjectAssociation.
 void createProjectAssociation(Project project)
          Method createProjectAssociation.
 boolean equals(Object other)
          Method equals.
 int getBuildNumber()
          Get the buildNumber field.
 long getEndTime()
          Get the endTime field.
 String getError()
          Get the error field.
 int getExitCode()
          Get the exitCode field.
 int getId()
          Get the id field.
 Project getProject()
          Get the project field.
 ScmResult getScmResult()
          Get the scmResult field.
 long getStartTime()
          Get the startTime field.
 int getState()
          Get the state field.
 TestResult getTestResult()
          Get the testResult field.
 int getTrigger()
          Get the trigger field.
 String getUsername()
          Get the username field.
 int hashCode()
          Method hashCode.
 boolean isSuccess()
          Get the success field.
 void setBuildNumber(int buildNumber)
          Set the buildNumber 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 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 setTestResult(TestResult testResult)
          Set the testResult 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

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

getBuildNumber

public int getBuildNumber()
Get the buildNumber field.

Returns:
int

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

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

getTestResult

public TestResult getTestResult()
Get the testResult field.

Returns:
TestResult

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

setBuildNumber

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

Parameters:
buildNumber -

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 -

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 -

setTestResult

public void setTestResult(TestResult testResult)
Set the testResult field.

Parameters:
testResult -

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


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