Class OctaneGateReportSnapshot
java.lang.Object
io.jenkins.plugins.octanesuitegatebyembiti.models.OctaneGateReportSnapshot
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic OctaneGateReportSnapshotempty()static OctaneGateReportSnapshotstatic OctaneGateReportSnapshoterror(String message, String criteria, String suiteRunId, int refreshSeconds, int timeoutSeconds, int timeoutExtendedSeconds, String startedAt, boolean riskHeatMapEnabled) static OctaneGateReportSnapshoterror(String message, String criteria, String suiteRunId, int refreshSeconds, int timeoutSeconds, String startedAt) static OctaneGateReportSnapshotfromResult(OctaneGateReportState state, String message, GateResult result, StatusClassifier classifier, int refreshSeconds) static OctaneGateReportSnapshotfromResult(OctaneGateReportState state, String message, GateResult result, StatusClassifier classifier, int refreshSeconds, int timeoutSeconds, int timeoutExtendedSeconds, String startedAt) static OctaneGateReportSnapshotfromResult(OctaneGateReportState state, String message, GateResult result, StatusClassifier classifier, int refreshSeconds, int timeoutSeconds, int timeoutExtendedSeconds, String startedAt, int metricRunsInSuiteLimit) static OctaneGateReportSnapshotfromResult(OctaneGateReportState state, String message, GateResult result, StatusClassifier classifier, int refreshSeconds, int timeoutSeconds, String startedAt) intintdoubleintdoubleintintintdoubleintintintintgetState()intintlonglonglongintintbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanstatic OctaneGateReportSnapshotwaiting(GateRequest request, int refreshSeconds) static OctaneGateReportSnapshotwaiting(GateRequest request, int refreshSeconds, String startedAt) withCalculatedTestMetrics(OctaneGateReportSnapshot previousSnapshot) withDefectTrend(OctaneDefectTrend defectTrend) withDefinedScope(List<OctaneDefinedScope> definedScope) withGraphTitles(String regressionGraphsTitle, String criticalGraphsTitle) withRiskHeatMap(OctaneRiskHeatMap riskHeatMap) withState(OctaneGateReportState state, String message, String updatedAt) withSuiteAttributions(Map<String, String> suiteAttributions) withTesterThresholds(int basePassrateFigure, int baseExecutionFigure) withTestManagement(OctaneTestManagementAnalytics testManagement) withTestMetrics(OctaneTestMetrics testMetrics)
-
Field Details
-
CLIENT_RENDER_BAR_THRESHOLD
public static final int CLIENT_RENDER_BAR_THRESHOLD- See Also:
-
-
Method Details
-
empty
-
waiting
-
waiting
public static OctaneGateReportSnapshot waiting(GateRequest request, int refreshSeconds, String startedAt) -
fromResult
public static OctaneGateReportSnapshot fromResult(OctaneGateReportState state, String message, GateResult result, StatusClassifier classifier, int refreshSeconds) -
fromResult
public static OctaneGateReportSnapshot fromResult(OctaneGateReportState state, String message, GateResult result, StatusClassifier classifier, int refreshSeconds, int timeoutSeconds, String startedAt) -
fromResult
public static OctaneGateReportSnapshot fromResult(OctaneGateReportState state, String message, GateResult result, StatusClassifier classifier, int refreshSeconds, int timeoutSeconds, int timeoutExtendedSeconds, String startedAt) -
fromResult
public static OctaneGateReportSnapshot fromResult(OctaneGateReportState state, String message, GateResult result, StatusClassifier classifier, int refreshSeconds, int timeoutSeconds, int timeoutExtendedSeconds, String startedAt, int metricRunsInSuiteLimit) -
error
public static OctaneGateReportSnapshot error(String message, String criteria, String suiteRunId, int refreshSeconds) -
error
public static OctaneGateReportSnapshot error(String message, String criteria, String suiteRunId, int refreshSeconds, int timeoutSeconds, String startedAt) -
error
public static OctaneGateReportSnapshot error(String message, String criteria, String suiteRunId, int refreshSeconds, int timeoutSeconds, int timeoutExtendedSeconds, String startedAt, boolean riskHeatMapEnabled) -
withCalculatedTestMetrics
public OctaneGateReportSnapshot withCalculatedTestMetrics(OctaneGateReportSnapshot previousSnapshot) -
withTestMetrics
-
withDefectTrend
-
withRiskHeatMap
-
withTesterThresholds
public OctaneGateReportSnapshot withTesterThresholds(int basePassrateFigure, int baseExecutionFigure) -
withTestManagement
-
withState
public OctaneGateReportSnapshot withState(OctaneGateReportState state, String message, String updatedAt) -
withDefinedScope
-
withSuiteAttributions
-
withGraphTitles
public OctaneGateReportSnapshot withGraphTitles(String regressionGraphsTitle, String criticalGraphsTitle) -
getState
-
getStateLabel
-
getMessage
-
getEmptyReportMessage
-
getCriteria
-
hasCriteria
public boolean hasCriteria() -
getSuiteRunId
-
getSuiteRunIds
-
isRegressionEvaluationEnabled
public boolean isRegressionEvaluationEnabled() -
isCriticalOnlyReport
public boolean isCriticalOnlyReport() -
isSingleSectionReport
public boolean isSingleSectionReport() -
getRefreshSeconds
public int getRefreshSeconds() -
getRefreshCountdownText
-
getTimeoutSeconds
public int getTimeoutSeconds() -
getTimeoutExtendedSeconds
public int getTimeoutExtendedSeconds() -
getStartedAt
-
getUpdatedAt
-
getSuiteAttributions
-
getUpdatedAtText
-
getUpdatedAtDateTimeText
-
getJobStateLabel
-
getSections
-
getRiskHeatMap
-
isRiskHeatMapEnabled
public boolean isRiskHeatMapEnabled() -
getRiskHeatMapHtml
-
getTestMetrics
-
getDefectTrend
-
getTestManagement
-
getCriteriaEvaluation
-
getBasePassrateFigure
public int getBasePassrateFigure() -
getBaseExecutionFigure
public int getBaseExecutionFigure() -
getTesterPerformances
-
getDefinedScope
-
isDefinedScopeEmpty
public boolean isDefinedScopeEmpty() -
getTesterPassRateDetails
-
isTesterPassRateDetailsEmpty
public boolean isTesterPassRateDetailsEmpty() -
getTesterPassRateDetailsCount
public int getTesterPassRateDetailsCount() -
getTesterExecutionDetails
-
isTesterExecutionDetailsEmpty
public boolean isTesterExecutionDetailsEmpty() -
getTesterExecutionDetailsCount
public int getTesterExecutionDetailsCount() -
getTesterDetails
-
getDefectMetrics
-
getTestMetricsHtml
-
getExecutionStatusDistribution
-
getExecutionStatusDistributionHtml
-
getReportSections
-
isBuilding
public boolean isBuilding() -
isExtendedTime
public boolean isExtendedTime() -
isFinalizing
public boolean isFinalizing() -
isTimerActive
public boolean isTimerActive() -
getReconciledAt
-
getReconciledAtDateTimeText
-
getTestingTimeTitle
-
getTestingTimeSpentMinutes
public long getTestingTimeSpentMinutes() -
getTestingTimeSpentSeconds
public long getTestingTimeSpentSeconds() -
getTestingTimeSpentUnit
-
getTestingTimeSpentText
-
getTestingElapsedMillis
public long getTestingElapsedMillis() -
hasSections
public boolean hasSections() -
hasReportSections
public boolean hasReportSections() -
isClientRenderedReport
public boolean isClientRenderedReport() -
getExecutionProgress
public double getExecutionProgress() -
getCompletionProgress
public double getCompletionProgress() -
getCompletionProgressText
-
getCompletionProgressTwoDecimalText
-
getExecutionProgressText
-
getExecutionProgressTwoDecimalText
-
getPassRateTotal
public int getPassRateTotal() -
getPassRatePassed
public int getPassRatePassed() -
getPassRateProgress
public double getPassRateProgress() -
getPassRateProgressText
-
getPassRateProgressTwoDecimalText
-
getAutomationProgressTwoDecimalText
-
getPassRateLabel
-
getProjectTestTotal
public int getProjectTestTotal() -
getExecutedTestCount
public int getExecutedTestCount() -
getResolvedTestCount
public int getResolvedTestCount() -
getPassedTestCount
public int getPassedTestCount() -
hasDefectMetrics
public boolean hasDefectMetrics() -
getOpenDefectCount
public int getOpenDefectCount()
-