Klasse AutoGradingBuildAction

java.lang.Object
io.jenkins.plugins.util.BuildAction<edu.hm.hafner.grading.AggregatedScore>
io.jenkins.plugins.grading.AutoGradingBuildAction
Alle implementierten Schnittstellen:
Action, ModelObject, Serializable, RunAction2, SimpleBuildStep.LastBuildAction, org.kohsuke.stapler.StaplerProxy

public class AutoGradingBuildAction extends io.jenkins.plugins.util.BuildAction<edu.hm.hafner.grading.AggregatedScore> implements org.kohsuke.stapler.StaplerProxy
Controls the life cycle of the score 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.
Autor:
Eva-Maria Zeintl
Siehe auch:
  • Konstruktordetails

    • AutoGradingBuildAction

      public AutoGradingBuildAction(Run<?,?> owner, edu.hm.hafner.grading.AggregatedScore score)
      Creates a new instance of AutoGradingBuildAction.
      Parameter:
      owner - the associated build that created the scores
      score - score instance where all results are saved
  • Methodendetails

    • createXmlStream

      protected AggregatedScoreXmlStream createXmlStream()
      Angegeben von:
      createXmlStream in Klasse io.jenkins.plugins.util.BuildAction<edu.hm.hafner.grading.AggregatedScore>
    • createProjectAction

      protected AutoGradingJobAction createProjectAction()
      Angegeben von:
      createProjectAction in Klasse io.jenkins.plugins.util.BuildAction<edu.hm.hafner.grading.AggregatedScore>
    • getBuildResultBaseName

      protected String getBuildResultBaseName()
      Angegeben von:
      getBuildResultBaseName in Klasse io.jenkins.plugins.util.BuildAction<edu.hm.hafner.grading.AggregatedScore>
    • getIconFileName

      public String getIconFileName()
      Angegeben von:
      getIconFileName in Schnittstelle Action
    • getDisplayName

      public String getDisplayName()
      Angegeben von:
      getDisplayName in Schnittstelle Action
      Angegeben von:
      getDisplayName in Schnittstelle ModelObject
    • getTarget

      public Object getTarget()
      Returns the detail view for the autograding data for all Stapler requests.
      Angegeben von:
      getTarget in Schnittstelle org.kohsuke.stapler.StaplerProxy
      Gibt zurück:
      the detail view for the autograding data
    • getUrlName

      public String getUrlName()
      Angegeben von:
      getUrlName in Schnittstelle Action
    • getAchieved

      public int getAchieved()
    • getTotal

      public int getTotal()