Class OpenMetadataConformanceWorkbenchResults

java.lang.Object
org.odpi.openmetadata.conformance.beans.OpenMetadataConformanceTestResults
org.odpi.openmetadata.conformance.beans.OpenMetadataConformanceWorkbenchResults
All Implemented Interfaces:
Serializable

public class OpenMetadataConformanceWorkbenchResults extends OpenMetadataConformanceTestResults
OpenMetadataConformanceWorkbenchResults provides a bean for storing the results of an Open Metadata Conformance Suite Workbench. This includes the accumulated results from each of the tests it runs within each profile.
See Also:
  • Constructor Details

    • OpenMetadataConformanceWorkbenchResults

      public OpenMetadataConformanceWorkbenchResults()
      Default constructor - used when constructing from JSON.
  • Method Details

    • getWorkbenchId

      public String getWorkbenchId()
      Return the unique identifier of the workbench.
      Returns:
      string id
    • setWorkbenchId

      public void setWorkbenchId(String workbenchId)
      Set up the unique identifier of the workbench.
      Parameters:
      workbenchId - string id
    • getWorkbenchName

      public String getWorkbenchName()
      Return the name of the workbench
      Returns:
      string name
    • setWorkbenchName

      public void setWorkbenchName(String workbenchName)
      Set up the name of the workbench
      Parameters:
      workbenchName - name
    • getVersionNumber

      public String getVersionNumber()
      Return the version number of the workbench.
      Returns:
      string version
    • setVersionNumber

      public void setVersionNumber(String versionNumber)
      Set up the version number of the workbench running the tests.
      Parameters:
      versionNumber - string version number
    • getWorkbenchDocumentationURL

      public String getWorkbenchDocumentationURL()
      Return the url to the workbench documentation.
      Returns:
      string url
    • setWorkbenchDocumentationURL

      public void setWorkbenchDocumentationURL(String workbenchDocumentationURL)
      Set up the url to the workbench documentation.
      Parameters:
      workbenchDocumentationURL - url
    • getTutType

      public String getTutType()
      Return the technology under test type description.
      Returns:
      name
    • setTutType

      public void setTutType(String tutType)
      Set up the technology under test type description.
      Parameters:
      tutType - name
    • getTutName

      public String getTutName()
      Return the technology under test name (eg server name).
      Returns:
      name
    • setTutName

      public void setTutName(String tutName)
      Set up the technology under test name (eg server name).
      Parameters:
      tutName - name
    • getProfileResults

      public List<OpenMetadataConformanceProfileResults> getProfileResults()
      Return the indexed list of profile results. There is an entry for each profile indexed by the profileId.
      Returns:
      map of profile id to profile results
    • setProfileResults

      public void setProfileResults(List<OpenMetadataConformanceProfileResults> profileResults)
      Set up the indexed list of profile results. There is an entry for each profile indexed by the profileId.
      Parameters:
      profileResults - map of profile id to profile results
    • getTestCaseCount

      public int getTestCaseCount()
      Return the number of test cases run.
      Specified by:
      getTestCaseCount in class OpenMetadataConformanceTestResults
      Returns:
      int count
    • getTestPassCount

      public int getTestPassCount()
      Return the number of test cases passed.
      Specified by:
      getTestPassCount in class OpenMetadataConformanceTestResults
      Returns:
      int count
    • getTestFailedCount

      public int getTestFailedCount()
      Return the number of test cases failed.
      Specified by:
      getTestFailedCount in class OpenMetadataConformanceTestResults
      Returns:
      int count
    • getTestSkippedCount

      public int getTestSkippedCount()
      Return the number of test cases skipped.
      Specified by:
      getTestSkippedCount in class OpenMetadataConformanceTestResults
      Returns:
      int count
    • getPassedTestCases

      public List<OpenMetadataTestCaseResult> getPassedTestCases()
      Return the list of test cases that passed.
      Returns:
      list of test cases
    • setPassedTestCases

      public void setPassedTestCases(List<OpenMetadataTestCaseResult> passedTestCases)
      Set up the list of test cases that passed.
      Parameters:
      passedTestCases - list of test cases
    • getFailedTestCases

      public List<OpenMetadataTestCaseResult> getFailedTestCases()
      Return the list of test cases that failed.
      Returns:
      list of test cases
    • setFailedTestCases

      public void setFailedTestCases(List<OpenMetadataTestCaseResult> failedTestCases)
      Set up the list of test cases that failed.
      Parameters:
      failedTestCases - list of test cases
    • getSkippedTestCases

      public List<OpenMetadataTestCaseSummary> getSkippedTestCases()
      Return the list of test cases that were not run due to an earlier failure.
      Returns:
      list of test cases
    • setSkippedTestCases

      public void setSkippedTestCases(List<OpenMetadataTestCaseSummary> skippedTestCases)
      Set up the list of test cases that were not run sue to an earlier failure.
      Parameters:
      skippedTestCases - list of test cases
    • toString

      public String toString()
      toString() JSON-style
      Overrides:
      toString in class Object
      Returns:
      string description