Package io.jenkins.plugins.reporter
Class ReportAction
java.lang.Object
io.jenkins.plugins.reporter.ReportAction
- All Implemented Interfaces:
Action
,ModelObject
,Serializable
,RunAction2
,SimpleBuildStep.LastBuildAction
,org.kohsuke.stapler.StaplerProxy
public class ReportAction
extends Object
implements SimpleBuildStep.LastBuildAction, RunAction2, org.kohsuke.stapler.StaplerProxy, Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()
Returns the ID of this action.getName()
Returns the name of the report.Run<?,
?> getOwner()
Returns the associated build/run that created the static analysis result.Collection<? extends Action>
void
onAttached
(Run<?, ?> r) void
protected Object
Called after de-serialization to retain backward compatibility.
-
Field Details
-
REPORT_ID
- See Also:
-
-
Constructor Details
-
ReportAction
-
-
Method Details
-
onAttached
- Specified by:
onAttached
in interfaceRunAction2
-
onLoad
- Specified by:
onLoad
in interfaceRunAction2
-
readResolve
Called after de-serialization to retain backward compatibility.- Returns:
- this
-
getOwner
Returns the associated build/run that created the static analysis result.- Returns:
- the run
-
getId
Returns the ID of this action.- Returns:
- the ID
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
-
getTarget
- Specified by:
getTarget
in interfaceorg.kohsuke.stapler.StaplerProxy
-
getResult
-
getName
Returns the name of the report.- Returns:
- the ID
-
getProjectActions
- Specified by:
getProjectActions
in interfaceSimpleBuildStep.LastBuildAction
-