org.hudsonci.plugins.snapshotmonitor
Class SnapshotMonitorPlugin

java.lang.Object
  extended by hudson.Plugin
      extended by org.hudsonci.plugins.snapshotmonitor.SnapshotMonitorPlugin
All Implemented Interfaces:
hudson.model.Saveable

@Named
@Singleton
public class SnapshotMonitorPlugin
extends hudson.Plugin

Hudson maven snapshot monitor plugin.

Since:
2.1.0
Author:
Jason Dillon

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.Plugin
hudson.Plugin.DummyImpl
 
Field Summary
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
SnapshotMonitorPlugin()
           
 
Method Summary
 void configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject data)
           
 String getPassword()
           
 String getUrl()
           
 String getUserName()
           
 boolean isConfigured()
           
 void setPassword(String password)
           
 void setUrl(String url)
           
 void setUserName(String userName)
           
 void start()
           
 
Methods inherited from class hudson.Plugin
configure, doDynamic, getConfigXml, load, postInitialize, save, setServletContext, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnapshotMonitorPlugin

public SnapshotMonitorPlugin()
Method Detail

getUrl

@JellyAccessible
public String getUrl()

setUrl

public void setUrl(String url)

getUserName

@JellyAccessible
public String getUserName()

setUserName

public void setUserName(String userName)

getPassword

@JellyAccessible
public String getPassword()

setPassword

public void setPassword(String password)

isConfigured

public boolean isConfigured()

start

public void start()
           throws Exception
Overrides:
start in class hudson.Plugin
Throws:
Exception

configure

public void configure(org.kohsuke.stapler.StaplerRequest req,
                      net.sf.json.JSONObject data)
               throws IOException,
                      javax.servlet.ServletException,
                      hudson.model.Descriptor.FormException
Overrides:
configure in class hudson.Plugin
Throws:
IOException
javax.servlet.ServletException
hudson.model.Descriptor.FormException


Copyright © 2004-2011 Hudson. All Rights Reserved.