org.squashtest.tm.service.importer
Interface ImportRequirementTestCaseLinksSummary

All Known Implementing Classes:
ImportRequirementTestCaseLinksSummaryImpl

public interface ImportRequirementTestCaseLinksSummary


Method Summary
 void add(ImportRequirementTestCaseLinksSummary summary)
          adds the result of an import summary to this import summary
 int getFailures()
           
 Set<Integer> getLinkAlreadyExist()
           
 Set<String> getMissingColumnHeaders()
          if the format of the file is bad, this method will let the client know.
 Set<Integer> getObsoletes()
           
 Set<Integer> getRequirementAccessRejected()
           
 Set<Integer> getRequirementNotFound()
           
 int getSuccess()
           
 Set<Integer> getTestCaseAccessRejected()
           
 Set<Integer> getTestCaseNotFound()
           
 int getTotal()
           
 Set<Integer> getVersionNotFound()
           
 boolean isCriticalErrors()
          Tells whether the operation failed completely because of something really bad.
 

Method Detail

getTotal

int getTotal()
Returns:
total Links read in the archive

getSuccess

int getSuccess()
Returns:
total Links successfully imported

getFailures

int getFailures()
Returns:
total Links that could not be imported

getRequirementNotFound

Set<Integer> getRequirementNotFound()
Returns:
row numbers where requirement was not found

getTestCaseNotFound

Set<Integer> getTestCaseNotFound()
Returns:
row numbers where test-case was not found

getVersionNotFound

Set<Integer> getVersionNotFound()
Returns:
row numbers where the requirement had no version of the specified number

getObsoletes

Set<Integer> getObsoletes()
Returns:
row numbers where the requirement version was obsolete and, therefore could not be linked to any test-case

getRequirementAccessRejected

Set<Integer> getRequirementAccessRejected()
Returns:
row numbers where the user had no "link" access to the requirement

getTestCaseAccessRejected

Set<Integer> getTestCaseAccessRejected()
Returns:
row numbers where the user had no "link" access to the test-case

add

void add(ImportRequirementTestCaseLinksSummary summary)
adds the result of an import summary to this import summary


getLinkAlreadyExist

Set<Integer> getLinkAlreadyExist()
Returns:
row numbers where the test case was already linked to a version of the same Requirement

getMissingColumnHeaders

Set<String> getMissingColumnHeaders()
if the format of the file is bad, this method will let the client know.

Returns:

isCriticalErrors

boolean isCriticalErrors()
Tells whether the operation failed completely because of something really bad.



Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.