org.squashtest.tm.service.internal.importer
Class ImportRequirementTestCaseLinksSummaryImpl
java.lang.Object
org.squashtest.tm.service.internal.importer.ImportRequirementTestCaseLinksSummaryImpl
- All Implemented Interfaces:
- ImportRequirementTestCaseLinksSummary
public class ImportRequirementTestCaseLinksSummaryImpl
- extends Object
- implements ImportRequirementTestCaseLinksSummary
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImportRequirementTestCaseLinksSummaryImpl
public ImportRequirementTestCaseLinksSummaryImpl()
incrTotal
public void incrTotal()
incrFailures
public void incrFailures()
addObsolete
public void addObsolete(int number)
addRequirementAccessRejected
public void addRequirementAccessRejected(int number)
addRequirementNotFound
public void addRequirementNotFound(int number)
addTestCaseAccessRejected
public void addTestCaseAccessRejected(int number)
addTestCaseNotFound
public void addTestCaseNotFound(int number)
addVersionNotFound
public void addVersionNotFound(int number)
addLinkAlreadyExist
public void addLinkAlreadyExist(int number)
addMissingColumnHeader
public void addMissingColumnHeader(String headerName)
getTotal
public int getTotal()
- Specified by:
getTotal in interface ImportRequirementTestCaseLinksSummary
- Returns:
- total Links read in the archive
setTotal
public void setTotal(int total)
getFailures
public int getFailures()
- Specified by:
getFailures in interface ImportRequirementTestCaseLinksSummary
- Returns:
- total Links that could not be imported
setFailures
public void setFailures(int failures)
getSuccess
public int getSuccess()
- Specified by:
getSuccess in interface ImportRequirementTestCaseLinksSummary
- Returns:
- total Links successfully imported
getRequirementNotFound
public Set<Integer> getRequirementNotFound()
- Specified by:
getRequirementNotFound in interface ImportRequirementTestCaseLinksSummary
- Returns:
- row numbers where requirement was not found
getTestCaseNotFound
public Set<Integer> getTestCaseNotFound()
- Specified by:
getTestCaseNotFound in interface ImportRequirementTestCaseLinksSummary
- Returns:
- row numbers where test-case was not found
getVersionNotFound
public Set<Integer> getVersionNotFound()
- Specified by:
getVersionNotFound in interface ImportRequirementTestCaseLinksSummary
- Returns:
- row numbers where the requirement had no version of the specified number
getObsoletes
public Set<Integer> getObsoletes()
- Specified by:
getObsoletes in interface ImportRequirementTestCaseLinksSummary
- Returns:
- row numbers where the requirement version was obsolete and, therefore could not be linked to any test-case
getRequirementAccessRejected
public Set<Integer> getRequirementAccessRejected()
- Specified by:
getRequirementAccessRejected in interface ImportRequirementTestCaseLinksSummary
- Returns:
- row numbers where the user had no "link" access to the requirement
getTestCaseAccessRejected
public Set<Integer> getTestCaseAccessRejected()
- Specified by:
getTestCaseAccessRejected in interface ImportRequirementTestCaseLinksSummary
- Returns:
- row numbers where the user had no "link" access to the test-case
add
public void add(ImportRequirementTestCaseLinksSummary summary)
- Description copied from interface:
ImportRequirementTestCaseLinksSummary
- adds the result of an import summary to this import summary
- Specified by:
add in interface ImportRequirementTestCaseLinksSummary
getLinkAlreadyExist
public Set<Integer> getLinkAlreadyExist()
- Specified by:
getLinkAlreadyExist in interface ImportRequirementTestCaseLinksSummary
- Returns:
- row numbers where the test case was already linked to a version of the same Requirement
getMissingColumnHeaders
public Set<String> getMissingColumnHeaders()
- Description copied from interface:
ImportRequirementTestCaseLinksSummary
- if the format of the file is bad, this method will let the client know.
- Specified by:
getMissingColumnHeaders in interface ImportRequirementTestCaseLinksSummary
- Returns:
isCriticalErrors
public boolean isCriticalErrors()
- Description copied from interface:
ImportRequirementTestCaseLinksSummary
- Tells whether the operation failed completely because of something really bad.
- Specified by:
isCriticalErrors in interface ImportRequirementTestCaseLinksSummary
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.