public class RequirementOutcome
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
RequirementOutcome.OutcomeCounter |
| Constructor and Description |
|---|
RequirementOutcome(Requirement requirement,
TestOutcomes testOutcomes,
IssueTracking issueTracking) |
RequirementOutcome(Requirement requirement,
TestOutcomes testOutcomes,
long requirementsWithoutTests,
long estimatedUnimplementedTests,
IssueTracking issueTracking) |
public RequirementOutcome(Requirement requirement, TestOutcomes testOutcomes, long requirementsWithoutTests, long estimatedUnimplementedTests, IssueTracking issueTracking)
public RequirementOutcome(Requirement requirement, TestOutcomes testOutcomes, IssueTracking issueTracking)
public RequirementOutcome withTestOutcomes(TestOutcomes testOutcomes)
public Requirement getRequirement()
public TestOutcomes getTestOutcomes()
public boolean isComplete()
public boolean isFailure()
public boolean isError()
public boolean isCompromised()
public boolean isPending()
public boolean isIgnored()
public boolean isSkipped()
public int getFlattenedRequirementCount()
public java.util.List<Requirement> getFlattenedRequirements()
public java.util.List<Requirement> getFlattenedRequirements(Requirement... excludingRequirement)
public long getRequirementsWithoutTestsCount()
public java.lang.String getCardNumberWithLinks()
public java.lang.String toString()
toString in class java.lang.Objectpublic int getTestCount()
public TestOutcomes getTests()
public long getEstimatedUnimplementedTests()
public RequirementsPercentageFormatter getFormattedPercentage()
public RequirementsPercentageFormatter getFormattedPercentage(java.lang.String testType)
public RequirementsPercentageFormatter getFormattedPercentage(TestType testType)
public boolean testsRequirement(Requirement requirement)
public RequirementsProportionCounter getPercent()
public PercentageRequirementCounter getPercentRequirements()
public SubrequirementsCount getSubrequirements()
public RequirementsProportionCounter percentage(java.lang.String testType)
public RequirementsProportionCounter percentage(TestType testType)
public RequirementOutcome.OutcomeCounter getTotal()
public RequirementOutcome.OutcomeCounter count(TestType testType)
public RequirementOutcome.OutcomeCounter count(java.lang.String testType)
public java.util.Set<java.lang.String> getReleaseVersions()
public RequirementOutcome withoutUnrelatedRequirements()
public RequirementOutcome filteredByDisplayTag()
public boolean shouldPrune(RequirementOutcome requirementOutcome)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object