Class GitHubPollingLogAction
java.lang.Object
com.github.kostyasha.github.integration.generic.GitHubPollingLogAction
- All Implemented Interfaces:
hudson.matrix.MatrixChildAction
,Action
,ModelObject
,RunAction2
- Direct Known Subclasses:
GitHubBranchPollingLogAction
,GitHubPRPollingLogAction
public abstract class GitHubPollingLogAction
extends Object
implements hudson.matrix.MatrixChildAction, RunAction2
- Author:
- Kanstantsin Shautsou
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
doPollingLog
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) TODO is it secure?Job<?,
?> getJob()
getLog()
abstract String
Run<?,
?> getRun()
boolean
void
onAttached
(Run<?, ?> run) void
void
void
void
writePollingLogTo
(org.apache.commons.jelly.XMLOutput out) Writes the annotated log to the given output.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName
-
Constructor Details
-
GitHubPollingLogAction
-
GitHubPollingLogAction
-
-
Method Details
-
getPollingFileName
-
getJob
-
setJob
-
getRun
-
setRun
-
getLog
- Throws:
IOException
-
isLogExists
public boolean isLogExists() -
doPollingLog
public void doPollingLog(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException TODO is it secure?- Throws:
IOException
-
getPollingLogText
-
writePollingLogTo
Writes the annotated log to the given output.- Throws:
IOException
-
getPollingLogFile
-
onAttached
- Specified by:
onAttached
in interfaceRunAction2
-
onLoad
- Specified by:
onLoad
in interfaceRunAction2
-