org.squashtest.csp.tm.domain.project
Class Project
java.lang.Object
org.squashtest.csp.tm.domain.project.Project
- All Implemented Interfaces:
- org.squashtest.csp.core.domain.Identified
@Entity
public class Project
- extends Object
- implements org.squashtest.csp.core.domain.Identified
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Project
public Project()
getLabel
public String getLabel()
setLabel
public void setLabel(String label)
getId
public Long getId()
- Specified by:
getId in interface org.squashtest.csp.core.domain.Identified
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getName
@NotBlank
public String getName()
setName
public void setName(String name)
setActive
public void setActive(boolean isActive)
isActive
public boolean isActive()
isBugtrackerConnected
public boolean isBugtrackerConnected()
getTestCaseLibrary
public TestCaseLibrary getTestCaseLibrary()
setTestCaseLibrary
public void setTestCaseLibrary(TestCaseLibrary testCaseLibrary)
getRequirementLibrary
public RequirementLibrary getRequirementLibrary()
setRequirementLibrary
public void setRequirementLibrary(RequirementLibrary requirementLibrary)
getCampaignLibrary
public CampaignLibrary getCampaignLibrary()
setCampaignLibrary
public void setCampaignLibrary(CampaignLibrary campaignLibrary)
getBugtrackerBinding
public BugTrackerBinding getBugtrackerBinding()
setBugtrackerBinding
public void setBugtrackerBinding(BugTrackerBinding bugtrackerBinding)
bindTestAutomationProject
public void bindTestAutomationProject(TestAutomationProject project)
- will add a TestAutomationProject if it wasn't added already, or won't do anything if it was already bound to this.
- Parameters:
project -
unbindTestAutomationProject
public void unbindTestAutomationProject(TestAutomationProject project)
unbindTestAutomationProject
public void unbindTestAutomationProject(Long TAprojectId)
isTestAutomationEnabled
public boolean isTestAutomationEnabled()
setTestAutomationEnabled
public void setTestAutomationEnabled(boolean enabled)
hasTestAutomationProjects
public boolean hasTestAutomationProjects()
getServerOfLatestBoundProject
public TestAutomationServer getServerOfLatestBoundProject()
getTestAutomationProjects
public Collection<TestAutomationProject> getTestAutomationProjects()
removeBugTrackerBinding
public void removeBugTrackerBinding()
findBugTracker
public org.squashtest.csp.core.bugtracker.domain.BugTracker findBugTracker()
- Returns:
- the BugTracker the Project is bound to
- Throws:
NoBugTrackerBindingException - if the project is not BugtrackerConnected
Copyright © 2010-2012 Henix, henix.fr. All Rights Reserved.