org.jenkinsci.plugins.pom2config
Class Pom2Config

java.lang.Object
  extended by org.jenkinsci.plugins.pom2config.Pom2Config
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject

public class Pom2Config
extends Object
implements hudson.model.Action

Author:
Kathi Stutz, Michael Klein

Constructor Summary
Pom2Config(hudson.model.AbstractProject<?,?> project)
           
 
Method Summary
 void doGetPom(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
          Retrieves and parses the selected pom
 void doSetDetails(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
          Set chosen values in the job configuration
 String getDisplayName()
          
 List<Handler> getHandler()
          Gets all available Pom2ConfigHandler
 String getIconFileName()
          
 List<String> getMessages()
           
 List<Handler> getNotLoadedHandler()
           
 List<Handler> getPom2ConfigHandler()
           
 String getUrlName()
          
 boolean isPomInWorkspace()
          Checks if there is a pom in the job workspace
 void writeErrorMessage(String message, Writer writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pom2Config

public Pom2Config(hudson.model.AbstractProject<?,?> project)
Method Detail

getHandler

public List<Handler> getHandler()
Gets all available Pom2ConfigHandler

Returns:
Loaded Pom2ConfigHandler

isPomInWorkspace

public boolean isPomInWorkspace()
Checks if there is a pom in the job workspace

Returns:
true if there is or no if not

doGetPom

public final void doGetPom(org.kohsuke.stapler.StaplerRequest req,
                           org.kohsuke.stapler.StaplerResponse rsp)
                    throws IOException
Retrieves and parses the selected pom

Parameters:
req -
rsp -
Throws:
IOException

writeErrorMessage

public void writeErrorMessage(String message,
                              Writer writer)
                       throws IOException
Throws:
IOException

doSetDetails

public final void doSetDetails(org.kohsuke.stapler.StaplerRequest req,
                               org.kohsuke.stapler.StaplerResponse rsp)
                        throws IOException,
                               URISyntaxException,
                               javax.servlet.ServletException
Set chosen values in the job configuration

Parameters:
req -
rsp -
Throws:
IOException
URISyntaxException
javax.servlet.ServletException

getDisplayName

public String getDisplayName()

Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject

getIconFileName

public String getIconFileName()

Specified by:
getIconFileName in interface hudson.model.Action

getUrlName

public String getUrlName()

Specified by:
getUrlName in interface hudson.model.Action

getNotLoadedHandler

public List<Handler> getNotLoadedHandler()

getPom2ConfigHandler

public List<Handler> getPom2ConfigHandler()

getMessages

public List<String> getMessages()


Copyright © 2004-2013. All Rights Reserved.