Class Zephyr
- java.lang.Object
-
- com.zebrunner.agent.core.registrar.Zephyr
-
public final class Zephyr extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classZephyr.Scalestatic classZephyr.Squad
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJIRA_PROJECT_KEYstatic java.lang.StringSYNC_ENABLEDstatic java.lang.StringSYNC_REAL_TIMEstatic java.lang.StringTEST_CYCLE_KEY
-
Constructor Summary
Constructors Constructor Description Zephyr()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddisableSync()static voidenableRealTimeSync()static voidsetJiraProjectKey(java.lang.String jiraProjectKey)static voidsetTestCaseKey(java.lang.String testCaseKey)static voidsetTestCaseStatus(java.lang.String testCaseKey, java.lang.String resultStatus)Sets the given status for the given test in Zephyr cycle.static voidsetTestCycleKey(java.lang.String testCycleKey)
-
-
-
Field Detail
-
SYNC_ENABLED
public static final java.lang.String SYNC_ENABLED
- See Also:
- Constant Field Values
-
SYNC_REAL_TIME
public static final java.lang.String SYNC_REAL_TIME
- See Also:
- Constant Field Values
-
TEST_CYCLE_KEY
public static final java.lang.String TEST_CYCLE_KEY
- See Also:
- Constant Field Values
-
JIRA_PROJECT_KEY
public static final java.lang.String JIRA_PROJECT_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
disableSync
public static void disableSync()
-
enableRealTimeSync
public static void enableRealTimeSync()
-
setTestCycleKey
public static void setTestCycleKey(java.lang.String testCycleKey)
-
setJiraProjectKey
public static void setJiraProjectKey(java.lang.String jiraProjectKey)
-
setTestCaseKey
public static void setTestCaseKey(java.lang.String testCaseKey)
-
setTestCaseStatus
public static void setTestCaseStatus(java.lang.String testCaseKey, java.lang.String resultStatus)Sets the given status for the given test in Zephyr cycle.- Parameters:
testCaseKey- key of the Zephyr test caseresultStatus- name of the status to be set for the test case- See Also:
Zephyr.Scale.SystemTestCaseStatus.Cloud,Zephyr.Squad.SystemTestCaseStatus.Cloud
-
-