net.thucydides.core.model
Class Release

Package class diagram package Release
java.lang.Object
  extended by 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'


Constructor Summary
Release(TestTag releaseTag)
           
Release(TestTag releaseTag, List<Release> children, List<Release> parents, String reportName)
           
 
Method Summary
 int compareTo(Object otherRelease)
           
 boolean equals(Object o)
           
 List<Release> getChildren()
           
 String getLabel()
           
 String getName()
           
 List<Release> getParents()
           
 TestTag getReleaseTag()
           
 String getReportName()
           
 int hashCode()
           
static Release ofVersion(String versionName)
           
 Release withChildren(List<Release> children)
           
 Release withParents(List<Release> parents)
           
 Release withReport(String reportName)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Release

public Release(TestTag releaseTag)

Release

public Release(TestTag releaseTag,
               List<Release> children,
               List<Release> parents,
               String reportName)
Method Detail

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.