Class OctaneGateReportAction
java.lang.Object
io.jenkins.plugins.octanesuitegatebyembiti.actions.OctaneGateReportAction
- All Implemented Interfaces:
Action,ModelObject,OctaneGateReportPublisher,Serializable,RunAction2
public class OctaneGateReportAction
extends Object
implements RunAction2, OctaneGateReportPublisher, Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final recordstatic enum -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OctaneGateReportActionattachTo(Run<?, ?> run, GateRequest request) booleanawaitNextPollOrManualExit(Duration duration) voidclearManualExitCallback(Runnable callback) voidvoiddoData(org.kohsuke.stapler.StaplerRequest2 request, org.kohsuke.stapler.StaplerResponse2 response, String section, int cursor, int limit) org.kohsuke.stapler.HttpResponsevoiddoScaleReportScript(org.kohsuke.stapler.StaplerRequest2 request, org.kohsuke.stapler.StaplerResponse2 response) voiddoSnapshot(org.kohsuke.stapler.StaplerRequest2 request, org.kohsuke.stapler.StaplerResponse2 response) voiddoTestManagementScript(org.kohsuke.stapler.StaplerRequest2 request, org.kohsuke.stapler.StaplerResponse2 response) longintintbooleanbooleanbooleanbooleanbooleanvoidonAttached(Run<?, ?> run) voidonError(String message, GateRequest request) voidonExtendedTime(GateResult result, StatusClassifier classifier) voidonFinal(OctaneGateReportState state, String message, GateResult result, StatusClassifier classifier) voidonFinalizing(String message) voidvoidonPoll(GateResult result, StatusClassifier classifier) voidonWaiting(GateRequest request, List<String> suiteRunIds) refreshForEmail(Duration threshold, Instant now) refreshIfStale(Duration threshold, Instant now) voidsetManualExitCallback(Runnable callback) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Action
getDescription, getEvent, getGroup, getSemantic, isVisibleInContextMenu
-
Field Details
-
URL_NAME
- See Also:
-
-
Constructor Details
-
OctaneGateReportAction
public OctaneGateReportAction()
-
-
Method Details
-
attachTo
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-
onAttached
- Specified by:
onAttachedin interfaceRunAction2
-
onLoad
- Specified by:
onLoadin interfaceRunAction2
-
onWaiting
- Specified by:
onWaitingin interfaceOctaneGateReportPublisher
-
onPoll
- Specified by:
onPollin interfaceOctaneGateReportPublisher
-
onExtendedTime
- Specified by:
onExtendedTimein interfaceOctaneGateReportPublisher
-
onFinalizing
- Specified by:
onFinalizingin interfaceOctaneGateReportPublisher
-
onFinal
public void onFinal(OctaneGateReportState state, String message, GateResult result, StatusClassifier classifier) - Specified by:
onFinalin interfaceOctaneGateReportPublisher
-
onError
- Specified by:
onErrorin interfaceOctaneGateReportPublisher
-
getSnapshot
-
awaitReconciledSnapshot
- Throws:
InterruptedException
-
getRefreshSeconds
public int getRefreshSeconds() -
isAutoRefresh
public boolean isAutoRefresh() -
getReportDataChecksum
-
getTestManagementJson
-
getReportDataSchemaVersion
public int getReportDataSchemaVersion() -
getReportUrl
-
doSnapshot
public void doSnapshot(org.kohsuke.stapler.StaplerRequest2 request, org.kohsuke.stapler.StaplerResponse2 response) throws IOException - Throws:
IOException
-
doData
public void doData(org.kohsuke.stapler.StaplerRequest2 request, org.kohsuke.stapler.StaplerResponse2 response, @QueryParameter String section, @QueryParameter int cursor, @QueryParameter int limit) throws IOException - Throws:
IOException
-
doScaleReportScript
public void doScaleReportScript(org.kohsuke.stapler.StaplerRequest2 request, org.kohsuke.stapler.StaplerResponse2 response) throws IOException - Throws:
IOException
-
doTestManagementScript
public void doTestManagementScript(org.kohsuke.stapler.StaplerRequest2 request, org.kohsuke.stapler.StaplerResponse2 response) throws IOException - Throws:
IOException
-
doExitOctaneAndContinue
public org.kohsuke.stapler.HttpResponse doExitOctaneAndContinue() -
setManualExitCallback
-
clearManualExitCallback
-
setRefreshCallback
-
clearRefreshCallback
-
refreshIfStale
public OctaneGateReportAction.RefreshResult refreshIfStale(Duration threshold, Instant now) throws Exception - Throws:
Exception
-
refreshForEmail
public OctaneGateReportAction.RefreshResult refreshForEmail(Duration threshold, Instant now) throws Exception - Throws:
Exception
-
isManualExitRequested
public boolean isManualExitRequested()- Specified by:
isManualExitRequestedin interfaceOctaneGateReportPublisher
-
getManualExitRequestedAtMillis
public long getManualExitRequestedAtMillis() -
isManualExitPending
public boolean isManualExitPending() -
isExtendedExitAvailable
public boolean isExtendedExitAvailable() -
isExtendedExitControlVisible
public boolean isExtendedExitControlVisible() -
awaitNextPollOrManualExit
- Specified by:
awaitNextPollOrManualExitin interfaceOctaneGateReportPublisher- Throws:
InterruptedException
-