Class JiraZephyrRepository

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, step.core.repositories.Repository

    public class JiraZephyrRepository
    extends java.lang.Object
    implements step.core.repositories.Repository, java.io.Closeable
    • Constructor Summary

      Constructors 
      Constructor Description
      JiraZephyrRepository​(ch.exense.commons.app.Configuration configuration, step.core.plans.PlanAccessor planAccessor, step.core.artefacts.reports.ReportNodeAccessor reportNodeAccessor, step.core.execution.model.ExecutionAccessor executionAccessor, step.resources.ResourceManager resourceManager, JiraRestClient jiraRestClient, ZephyrRestClient zephyrRestClient)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void exportExecution​(step.core.execution.ExecutionContext context, java.util.Map<java.lang.String,​java.lang.String> repositoryParameters)  
      step.core.repositories.ArtefactInfo getArtefactInfo​(java.util.Map<java.lang.String,​java.lang.String> repositoryParameterMap)  
      step.core.repositories.TestSetStatusOverview getTestSetStatusOverview​(java.util.Map<java.lang.String,​java.lang.String> repositoryParameterMap)  
      step.core.repositories.ImportResult importArtefact​(step.core.execution.ExecutionContext context, java.util.Map<java.lang.String,​java.lang.String> repositoryParameterMap)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JiraZephyrRepository

        public JiraZephyrRepository​(ch.exense.commons.app.Configuration configuration,
                                    step.core.plans.PlanAccessor planAccessor,
                                    step.core.artefacts.reports.ReportNodeAccessor reportNodeAccessor,
                                    step.core.execution.model.ExecutionAccessor executionAccessor,
                                    step.resources.ResourceManager resourceManager,
                                    JiraRestClient jiraRestClient,
                                    ZephyrRestClient zephyrRestClient)
                             throws step.grid.contextbuilder.ApplicationContextBuilderException,
                                    java.lang.ClassNotFoundException
        Throws:
        step.grid.contextbuilder.ApplicationContextBuilderException
        java.lang.ClassNotFoundException
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException
      • getArtefactInfo

        public step.core.repositories.ArtefactInfo getArtefactInfo​(java.util.Map<java.lang.String,​java.lang.String> repositoryParameterMap)
                                                            throws java.lang.Exception
        Specified by:
        getArtefactInfo in interface step.core.repositories.Repository
        Throws:
        java.lang.Exception
      • getTestSetStatusOverview

        public step.core.repositories.TestSetStatusOverview getTestSetStatusOverview​(java.util.Map<java.lang.String,​java.lang.String> repositoryParameterMap)
                                                                              throws java.lang.Exception
        Specified by:
        getTestSetStatusOverview in interface step.core.repositories.Repository
        Throws:
        java.lang.Exception
      • importArtefact

        public step.core.repositories.ImportResult importArtefact​(step.core.execution.ExecutionContext context,
                                                                  java.util.Map<java.lang.String,​java.lang.String> repositoryParameterMap)
                                                           throws java.lang.Exception
        Specified by:
        importArtefact in interface step.core.repositories.Repository
        Throws:
        java.lang.Exception
      • exportExecution

        public void exportExecution​(step.core.execution.ExecutionContext context,
                                    java.util.Map<java.lang.String,​java.lang.String> repositoryParameters)
                             throws java.lang.Exception
        Specified by:
        exportExecution in interface step.core.repositories.Repository
        Throws:
        java.lang.Exception