org.jenkinsci.plugins.pom2config
Interface Handler

All Superinterfaces:
Comparable<Handler>, hudson.ExtensionPoint
All Known Implementing Classes:
EmailExtHandler, JobHandler, Pom2ConfigHandler, ScmHandler

public interface Handler
extends hudson.ExtensionPoint, Comparable<Handler>

Author:
Michael Klein

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Method Summary
 String getName()
          Name of the plugin
 List<DataSet> getPomValues()
          List of found values in the pom
 boolean isLoaded()
          Is the plugin loaded in Jenkins
 List<DataSet> parsePom(hudson.model.AbstractProject<?,?> project, Document doc)
          Parses the pom and looks for the searched values
 String setDetails(hudson.model.AbstractProject<?,?> project, net.sf.json.JSONObject formData)
          Sets the selected values from the pom in the job configuration
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getName

String getName()
Name of the plugin

Returns:
plugin name

getPomValues

List<DataSet> getPomValues()
List of found values in the pom

Returns:
found pom values

isLoaded

boolean isLoaded()
Is the plugin loaded in Jenkins

Returns:
true if it is or no if not

parsePom

List<DataSet> parsePom(hudson.model.AbstractProject<?,?> project,
                       Document doc)
                       throws IOException
Parses the pom and looks for the searched values

Parameters:
project -
doc - the pom
Returns:
A List of DataSet for the found values
Throws:
IOException

setDetails

String setDetails(hudson.model.AbstractProject<?,?> project,
                  net.sf.json.JSONObject formData)
Sets the selected values from the pom in the job configuration

Parameters:
project -
formData -
Returns:
A message if setting the values was successful or not


Copyright © 2004-2013. All Rights Reserved.