Klasse ForensicsBuildAction
java.lang.Object
io.jenkins.plugins.util.BuildAction<RepositoryStatistics>
io.jenkins.plugins.forensics.miner.ForensicsBuildAction
- Alle implementierten Schnittstellen:
Action
,ModelObject
,Serializable
,RunAction2
,SimpleBuildStep.LastBuildAction
,org.kohsuke.stapler.StaplerProxy
public class ForensicsBuildAction
extends io.jenkins.plugins.util.BuildAction<RepositoryStatistics>
implements org.kohsuke.stapler.StaplerProxy
Controls the life cycle of the forensics results in a job. This action persists the results of a build and displays a
summary on the build page. The actual visualization of the results is defined in the matching
summary.jelly
file. This action also provides access to the forensics details: these are rendered using a new view instance.- Autor:
- Ullrich Hafner
- Siehe auch:
-
Konstruktorübersicht
KonstruktorBeschreibungForensicsBuildAction
(Run<?, ?> owner, RepositoryStatistics repositoryStatistics, int miningDurationSeconds, String scmKey, int number) Creates a new instance ofForensicsBuildAction
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected ForensicsJobAction
protected final RepositoryStatisticsXmlStream
protected String
int
int
Returns the detail view for the forensics data for all Stapler requests.int
int
protected Object
toString()
Von Klasse geerbte Methoden io.jenkins.plugins.util.BuildAction
getBuildActionFromHistoryStartingFrom, getOwner, getProjectActions, getResult, onAttached, onLoad
-
Konstruktordetails
-
ForensicsBuildAction
public ForensicsBuildAction(Run<?, ?> owner, RepositoryStatistics repositoryStatistics, int miningDurationSeconds, String scmKey, int number) Creates a new instance ofForensicsBuildAction
.- Parameter:
owner
- the associated build that created the statisticsrepositoryStatistics
- the statistics to persist with this actionminingDurationSeconds
- the duration of the mining operation in [s]scmKey
- key of the repositorynumber
- unique number of the results (used as part of the serialization file name)
-
-
Methodendetails
-
readResolve
- Setzt außer Kraft:
readResolve
in Klasseio.jenkins.plugins.util.BuildAction<RepositoryStatistics>
-
createProjectAction
- Angegeben von:
createProjectAction
in Klasseio.jenkins.plugins.util.BuildAction<RepositoryStatistics>
-
createXmlStream
- Angegeben von:
createXmlStream
in Klasseio.jenkins.plugins.util.BuildAction<RepositoryStatistics>
-
getBuildResultBaseName
- Angegeben von:
getBuildResultBaseName
in Klasseio.jenkins.plugins.util.BuildAction<RepositoryStatistics>
-
getIconFileName
- Angegeben von:
getIconFileName
in SchnittstelleAction
-
getDisplayName
- Angegeben von:
getDisplayName
in SchnittstelleAction
- Angegeben von:
getDisplayName
in SchnittstelleModelObject
-
getTarget
Returns the detail view for the forensics data for all Stapler requests.- Angegeben von:
getTarget
in Schnittstelleorg.kohsuke.stapler.StaplerProxy
- Gibt zurück:
- the detail view for the forensics data
-
getUrlName
- Angegeben von:
getUrlName
in SchnittstelleAction
-
getNumberOfFiles
public int getNumberOfFiles() -
getMiningDurationSeconds
public int getMiningDurationSeconds() -
getTotalLinesOfCode
public int getTotalLinesOfCode() -
getTotalChurn
public int getTotalChurn() -
getCommitStatistics
-
getScmKey
-
toString
-