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

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

public class Project
extends Object
implements Serializable

Class Project.

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

Constructor Summary
Project()
           
 
Method Summary
 void addBuildDefinition(BuildDefinition buildDefinition)
          Method addBuildDefinition.
 void addBuildResult(BuildResult buildResult)
          Method addBuildResult.
 void addDependency(ProjectDependency projectDependency)
          Method addDependency.
 void addDeveloper(ProjectDeveloper projectDeveloper)
          Method addDeveloper.
 void addNotifier(ProjectNotifier projectNotifier)
          Method addNotifier.
 void breakBuildResultAssociation(BuildResult buildResult)
          Method breakBuildResultAssociation.
 void breakProjectGroupAssociation(ProjectGroup projectGroup)
          Method breakProjectGroupAssociation.
 void createBuildResultAssociation(BuildResult buildResult)
          Method createBuildResultAssociation.
 void createProjectGroupAssociation(ProjectGroup projectGroup)
          Method createProjectGroupAssociation.
 boolean equals(Object other)
          Method equals.
 String getArtifactId()
          Get the artifactId field.
 List<BuildDefinition> getBuildDefinitions()
          Method getBuildDefinitions.
 int getBuildNumber()
          Get the buildNumber field.
 List<BuildResult> getBuildResults()
          Method getBuildResults.
 ScmResult getCheckoutResult()
          Get the checkoutResult field.
 List<ProjectDependency> getDependencies()
          Method getDependencies.
 String getDescription()
          Get the description field.
 List<ProjectDeveloper> getDevelopers()
          Method getDevelopers.
 String getExecutorId()
          Get the executorId field.
 String getGroupId()
          Get the groupId field.
 int getId()
          Get the id field.
 int getLatestBuildId()
          Get the latestBuildId field.
 String getName()
          Get the name field.
 List<ProjectNotifier> getNotifiers()
          Method getNotifiers.
 int getOldState()
          Get the oldState field.
 ProjectDependency getParent()
          Get the parent field.
 ProjectGroup getProjectGroup()
          Get the projectGroup field.
 String getRelativePath()
          Get the relativePath field.
 String getScmPassword()
          Get the scmPassword field.
 String getScmTag()
          Get the scmTag field.
 String getScmUrl()
          Get the scmUrl field.
 String getScmUsername()
          Get the scmUsername field.
 int getState()
          Get the state field.
 String getUrl()
          Get the url field.
 String getVersion()
          Get the version field.
 String getWorkingDirectory()
          Get the workingDirectory field.
 int hashCode()
          Method hashCode.
 boolean isCheckedOutInSingleDirectory()
          Get the checkedOutInSingleDirectory field.
 boolean isScmUseCache()
          Get the scmUseCache field.
 void removeBuildDefinition(BuildDefinition buildDefinition)
          Method removeBuildDefinition.
 void removeBuildResult(BuildResult buildResult)
          Method removeBuildResult.
 void removeDependency(ProjectDependency projectDependency)
          Method removeDependency.
 void removeDeveloper(ProjectDeveloper projectDeveloper)
          Method removeDeveloper.
 void removeNotifier(ProjectNotifier projectNotifier)
          Method removeNotifier.
 void setArtifactId(String artifactId)
          Set the artifactId field.
 void setBuildDefinitions(List<BuildDefinition> buildDefinitions)
          Set the buildDefinitions field.
 void setBuildNumber(int buildNumber)
          Set the buildNumber field.
 void setBuildResults(List<BuildResult> buildResults)
          Set the buildResults field.
 void setCheckedOutInSingleDirectory(boolean checkedOutInSingleDirectory)
          Set the checkedOutInSingleDirectory field.
 void setCheckoutResult(ScmResult checkoutResult)
          Set the checkoutResult field.
 void setDependencies(List<ProjectDependency> dependencies)
          Set the dependencies field.
 void setDescription(String description)
          Set the description field.
 void setDevelopers(List<ProjectDeveloper> developers)
          Set the developers field.
 void setExecutorId(String executorId)
          Set the executorId field.
 void setGroupId(String groupId)
          Set the groupId field.
 void setId(int id)
          Set the id field.
 void setLatestBuildId(int latestBuildId)
          Set the latestBuildId field.
 void setName(String name)
          Set the name field.
 void setNotifiers(List<ProjectNotifier> notifiers)
          Set the notifiers field.
 void setOldState(int oldState)
          Set the oldState field.
 void setParent(ProjectDependency parent)
          Set the parent field.
 void setProjectGroup(ProjectGroup projectGroup)
          Set the projectGroup field.
 void setRelativePath(String relativePath)
          Set the relativePath field.
 void setScmPassword(String scmPassword)
          Set the scmPassword field.
 void setScmTag(String scmTag)
          Set the scmTag field.
 void setScmUrl(String scmUrl)
          Set the scmUrl field.
 void setScmUseCache(boolean scmUseCache)
          Set the scmUseCache field.
 void setScmUsername(String scmUsername)
          Set the scmUsername field.
 void setState(int state)
          Set the state field.
 void setUrl(String url)
          Set the url field.
 void setVersion(String version)
          Set the version field.
 void setWorkingDirectory(String workingDirectory)
          Set the workingDirectory field.
 String toString()
          Method toString.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Project

public Project()
Method Detail

addBuildDefinition

public void addBuildDefinition(BuildDefinition buildDefinition)
Method addBuildDefinition.

Parameters:
buildDefinition -

addBuildResult

public void addBuildResult(BuildResult buildResult)
Method addBuildResult.

Parameters:
buildResult -

addDependency

public void addDependency(ProjectDependency projectDependency)
Method addDependency.

Parameters:
projectDependency -

addDeveloper

public void addDeveloper(ProjectDeveloper projectDeveloper)
Method addDeveloper.

Parameters:
projectDeveloper -

addNotifier

public void addNotifier(ProjectNotifier projectNotifier)
Method addNotifier.

Parameters:
projectNotifier -

breakBuildResultAssociation

public void breakBuildResultAssociation(BuildResult buildResult)
Method breakBuildResultAssociation.

Parameters:
buildResult -

breakProjectGroupAssociation

public void breakProjectGroupAssociation(ProjectGroup projectGroup)
Method breakProjectGroupAssociation.

Parameters:
projectGroup -

createBuildResultAssociation

public void createBuildResultAssociation(BuildResult buildResult)
Method createBuildResultAssociation.

Parameters:
buildResult -

createProjectGroupAssociation

public void createProjectGroupAssociation(ProjectGroup projectGroup)
Method createProjectGroupAssociation.

Parameters:
projectGroup -

equals

public boolean equals(Object other)
Method equals.

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

getArtifactId

public String getArtifactId()
Get the artifactId field.

Returns:
String

getBuildDefinitions

public List<BuildDefinition> getBuildDefinitions()
Method getBuildDefinitions.

Returns:
List

getBuildNumber

public int getBuildNumber()
Get the buildNumber field.

Returns:
int

getBuildResults

public List<BuildResult> getBuildResults()
Method getBuildResults.

Returns:
List

getCheckoutResult

public ScmResult getCheckoutResult()
Get the checkoutResult field.

Returns:
ScmResult

getDependencies

public List<ProjectDependency> getDependencies()
Method getDependencies.

Returns:
List

getDescription

public String getDescription()
Get the description field.

Returns:
String

getDevelopers

public List<ProjectDeveloper> getDevelopers()
Method getDevelopers.

Returns:
List

getExecutorId

public String getExecutorId()
Get the executorId field.

Returns:
String

getGroupId

public String getGroupId()
Get the groupId field.

Returns:
String

getId

public int getId()
Get the id field.

Returns:
int

getLatestBuildId

public int getLatestBuildId()
Get the latestBuildId field.

Returns:
int

getName

public String getName()
Get the name field.

Returns:
String

getNotifiers

public List<ProjectNotifier> getNotifiers()
Method getNotifiers.

Returns:
List

getOldState

public int getOldState()
Get the oldState field.

Returns:
int

getParent

public ProjectDependency getParent()
Get the parent field.

Returns:
ProjectDependency

getProjectGroup

public ProjectGroup getProjectGroup()
Get the projectGroup field.

Returns:
ProjectGroup

getRelativePath

public String getRelativePath()
Get the relativePath field.

Returns:
String

getScmPassword

public String getScmPassword()
Get the scmPassword field.

Returns:
String

getScmTag

public String getScmTag()
Get the scmTag field.

Returns:
String

getScmUrl

public String getScmUrl()
Get the scmUrl field.

Returns:
String

getScmUsername

public String getScmUsername()
Get the scmUsername field.

Returns:
String

getState

public int getState()
Get the state field.

Returns:
int

getUrl

public String getUrl()
Get the url field.

Returns:
String

getVersion

public String getVersion()
Get the version field.

Returns:
String

getWorkingDirectory

public String getWorkingDirectory()
Get the workingDirectory field.

Returns:
String

hashCode

public int hashCode()
Method hashCode.

Overrides:
hashCode in class Object
Returns:
int

isCheckedOutInSingleDirectory

public boolean isCheckedOutInSingleDirectory()
Get the checkedOutInSingleDirectory field.

Returns:
boolean

isScmUseCache

public boolean isScmUseCache()
Get the scmUseCache field.

Returns:
boolean

removeBuildDefinition

public void removeBuildDefinition(BuildDefinition buildDefinition)
Method removeBuildDefinition.

Parameters:
buildDefinition -

removeBuildResult

public void removeBuildResult(BuildResult buildResult)
Method removeBuildResult.

Parameters:
buildResult -

removeDependency

public void removeDependency(ProjectDependency projectDependency)
Method removeDependency.

Parameters:
projectDependency -

removeDeveloper

public void removeDeveloper(ProjectDeveloper projectDeveloper)
Method removeDeveloper.

Parameters:
projectDeveloper -

removeNotifier

public void removeNotifier(ProjectNotifier projectNotifier)
Method removeNotifier.

Parameters:
projectNotifier -

setArtifactId

public void setArtifactId(String artifactId)
Set the artifactId field.

Parameters:
artifactId -

setBuildDefinitions

public void setBuildDefinitions(List<BuildDefinition> buildDefinitions)
Set the buildDefinitions field.

Parameters:
buildDefinitions -

setBuildNumber

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

Parameters:
buildNumber -

setBuildResults

public void setBuildResults(List<BuildResult> buildResults)
Set the buildResults field.

Parameters:
buildResults -

setCheckedOutInSingleDirectory

public void setCheckedOutInSingleDirectory(boolean checkedOutInSingleDirectory)
Set the checkedOutInSingleDirectory field.

Parameters:
checkedOutInSingleDirectory -

setCheckoutResult

public void setCheckoutResult(ScmResult checkoutResult)
Set the checkoutResult field.

Parameters:
checkoutResult -

setDependencies

public void setDependencies(List<ProjectDependency> dependencies)
Set the dependencies field.

Parameters:
dependencies -

setDescription

public void setDescription(String description)
Set the description field.

Parameters:
description -

setDevelopers

public void setDevelopers(List<ProjectDeveloper> developers)
Set the developers field.

Parameters:
developers -

setExecutorId

public void setExecutorId(String executorId)
Set the executorId field.

Parameters:
executorId -

setGroupId

public void setGroupId(String groupId)
Set the groupId field.

Parameters:
groupId -

setId

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

Parameters:
id -

setLatestBuildId

public void setLatestBuildId(int latestBuildId)
Set the latestBuildId field.

Parameters:
latestBuildId -

setName

public void setName(String name)
Set the name field.

Parameters:
name -

setNotifiers

public void setNotifiers(List<ProjectNotifier> notifiers)
Set the notifiers field.

Parameters:
notifiers -

setOldState

public void setOldState(int oldState)
Set the oldState field.

Parameters:
oldState -

setParent

public void setParent(ProjectDependency parent)
Set the parent field.

Parameters:
parent -

setProjectGroup

public void setProjectGroup(ProjectGroup projectGroup)
Set the projectGroup field.

Parameters:
projectGroup -

setRelativePath

public void setRelativePath(String relativePath)
Set the relativePath field.

Parameters:
relativePath -

setScmPassword

public void setScmPassword(String scmPassword)
Set the scmPassword field.

Parameters:
scmPassword -

setScmTag

public void setScmTag(String scmTag)
Set the scmTag field.

Parameters:
scmTag -

setScmUrl

public void setScmUrl(String scmUrl)
Set the scmUrl field.

Parameters:
scmUrl -

setScmUseCache

public void setScmUseCache(boolean scmUseCache)
Set the scmUseCache field.

Parameters:
scmUseCache -

setScmUsername

public void setScmUsername(String scmUsername)
Set the scmUsername field.

Parameters:
scmUsername -

setState

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

Parameters:
state -

setUrl

public void setUrl(String url)
Set the url field.

Parameters:
url -

setVersion

public void setVersion(String version)
Set the version field.

Parameters:
version -

setWorkingDirectory

public void setWorkingDirectory(String workingDirectory)
Set the workingDirectory field.

Parameters:
workingDirectory -

toString

public String toString()
Method toString.

Overrides:
toString in class Object
Returns:
String


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