Class Xray
- java.lang.Object
-
- com.zebrunner.agent.core.registrar.Xray
-
public final class Xray extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXray.SystemTestStatus
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEXECUTION_KEYstatic java.lang.StringSYNC_ENABLEDstatic java.lang.StringSYNC_REAL_TIME
-
Constructor Summary
Constructors Constructor Description Xray()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddisableSync()static voidenableRealTimeSync()static voidsetExecutionKey(java.lang.String executionKey)static voidsetTestKey(java.lang.String testKey)static voidsetTestStatus(java.lang.String testKey, java.lang.String resultStatus)Sets the given status for the given test in Xray execution.
-
-
-
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
-
EXECUTION_KEY
public static final java.lang.String EXECUTION_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
disableSync
public static void disableSync()
-
enableRealTimeSync
public static void enableRealTimeSync()
-
setExecutionKey
public static void setExecutionKey(java.lang.String executionKey)
-
setTestKey
public static void setTestKey(java.lang.String testKey)
-
setTestStatus
public static void setTestStatus(java.lang.String testKey, java.lang.String resultStatus)Sets the given status for the given test in Xray execution.- Parameters:
testKey- key of the Xray testresultStatus- name of the status to be set for the test- See Also:
Xray.SystemTestStatus.Cloud,Xray.SystemTestStatus.Server
-
-