net.thucydides.core.model
Class Release
java.lang.Object
net.thucydides.core.model.Release
- All Implemented Interfaces:
- Comparable
public class Release
- extends Object
- implements Comparable
A release or version of a software project.
Releases are identified by a tag, usually of type 'version'
Release
public Release(TestTag releaseTag)
Release
public Release(TestTag releaseTag,
List<Release> children,
List<Release> parents,
String reportName)
ofVersion
public static Release ofVersion(String versionName)
withChildren
public Release withChildren(List<Release> children)
withParents
public Release withParents(List<Release> parents)
withReport
public Release withReport(String reportName)
getName
public String getName()
getLabel
public String getLabel()
getChildren
public List<Release> getChildren()
getParents
public List<Release> getParents()
getReleaseTag
public TestTag getReleaseTag()
getReportName
public String getReportName()
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
compareTo
public int compareTo(Object otherRelease)
- Specified by:
compareTo in interface Comparable
Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.