Package io.jenkins.plugins.grading
Klasse AutoGradingViewModel
java.lang.Object
io.jenkins.plugins.grading.AutoGradingViewModel
- Alle implementierten Schnittstellen:
ModelObject
Server side model that provides the data for the details view of the autograding results. The layout of the
associated view is defined in the corresponding jelly view 'index.jelly'.
- Autor:
- Eva-Maria Zeintl
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetDynamic(String link, org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) Returns a new subpage for the selected link.Run<?, ?> getOwner()getProgressModel(int percentage) Returns the UI model for an ECharts progress chart.edu.hm.hafner.grading.AggregatedScoregetScore()
-
Methodendetails
-
getOwner
-
getDisplayName
- Angegeben von:
getDisplayNamein SchnittstelleModelObject
-
getScore
public edu.hm.hafner.grading.AggregatedScore getScore() -
getProgressModel
Returns the UI model for an ECharts progress chart.- Parameter:
percentage- the percentage to show- Gibt zurück:
- the UI model as JSON
-
getDynamic
@CheckForNull public Object getDynamic(String link, org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) Returns a new subpage for the selected link.- Parameter:
link- the link to identify the subpage to showrequest- Stapler requestresponse- Stapler response- Gibt zurück:
- the new subpage
-