Class OpenMetadataConformanceWorkbench

java.lang.Object
org.odpi.openmetadata.conformance.workbenches.OpenMetadataConformanceWorkbench
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
PerformanceWorkbench, PlatformConformanceWorkbench, RepositoryConformanceWorkbench

public abstract class OpenMetadataConformanceWorkbench extends Object implements Runnable
The OpenMetadataConformanceWorkbench drives the execution of a batch of tests.
  • Field Details

    • workbenchId

      protected String workbenchId
    • workbenchName

      protected String workbenchName
    • versionNumber

      protected String versionNumber
    • workbenchDocumentationURL

      protected String workbenchDocumentationURL
    • runningFlag

      protected static volatile boolean runningFlag
  • Constructor Details

    • OpenMetadataConformanceWorkbench

      public OpenMetadataConformanceWorkbench(String workbenchId, String workbenchName, String versionNumber, String workbenchDocumentationURL)
      Constructor taking in the URL root of the server under test.
      Parameters:
      workbenchId - unique identifier of this workbench
      workbenchName - name of this workbench
      versionNumber - version number of workbench
      workbenchDocumentationURL - url to the documentation for this workbench
  • Method Details

    • getWorkbenchId

      public String getWorkbenchId()
      Return the workbench id.
      Returns:
      id
    • getWorkbenchName

      public String getWorkbenchName()
      Return the workbench name.
      Returns:
      name
    • getVersionNumber

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

      public String getWorkbenchDocumentationURL()
      Return the link to the documentation for this workbench
      Returns:
      string url
    • stopRunning

      public void stopRunning()
      Shutdown the running thread
    • isRunning

      protected boolean isRunning()
      Test to see if the thread should keep running.
      Returns:
      boolean flag