net.praqma.jenkins.configrotator
Class ConfigurationRotatorReport

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by hudson.model.Actionable
          extended by net.praqma.jenkins.configrotator.ConfigurationRotatorReport
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Action, hudson.model.ModelObject, hudson.model.RootAction, hudson.model.UnprotectedRootAction, hudson.search.SearchableModelObject, hudson.search.SearchItem, jenkins.model.ModelObjectWithContextMenu

@Extension
public class ConfigurationRotatorReport
extends hudson.model.Actionable
implements hudson.model.UnprotectedRootAction


Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
jenkins.model.ModelObjectWithContextMenu.ContextMenu, jenkins.model.ModelObjectWithContextMenu.MenuItem
 
Constructor Summary
ConfigurationRotatorReport()
           
 
Method Summary
static String FeedFrontpageUrl()
           
static String GenerateJobUrl(hudson.model.AbstractBuild<?,?> build)
          Factory method to create the job url for our feed.
 List<hudson.model.Action> getActions()
           
 String getDisplayName()
           
static net.praqma.util.xml.feed.Feed getFeedFromFile(File feedFile, String name, String feedId, Date feedUpdated)
           
 String getIconFileName()
           
static String getRootUrl()
           
 hudson.DescriptorExtensionList<AbstractConfigurationRotatorSCM,ConfigurationRotatorSCMDescriptor<AbstractConfigurationRotatorSCM>> getSCMs()
           
 String getSearchUrl()
           
 String getUrl(ConfigurationRotatorSCMDescriptor<AbstractConfigurationRotatorSCM> scm)
           
 String getUrlName()
           
static String urlTtransform(String url)
          Transform a URL to a safe String, where all the evil chars are removed
 
Methods inherited from class hudson.model.Actionable
addAction, doContextMenu, getAction, getAction, getActions, getDynamic
 
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationRotatorReport

public ConfigurationRotatorReport()
Method Detail

getIconFileName

public String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject

getUrlName

public String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action

getSearchUrl

public String getSearchUrl()
Specified by:
getSearchUrl in interface hudson.search.SearchItem

getSCMs

public hudson.DescriptorExtensionList<AbstractConfigurationRotatorSCM,ConfigurationRotatorSCMDescriptor<AbstractConfigurationRotatorSCM>> getSCMs()

getActions

public List<hudson.model.Action> getActions()
Overrides:
getActions in class hudson.model.Actionable

getUrl

public String getUrl(ConfigurationRotatorSCMDescriptor<AbstractConfigurationRotatorSCM> scm)

getFeedFromFile

public static net.praqma.util.xml.feed.Feed getFeedFromFile(File feedFile,
                                                            String name,
                                                            String feedId,
                                                            Date feedUpdated)
                                                     throws net.praqma.util.xml.feed.FeedException,
                                                            IOException
Throws:
net.praqma.util.xml.feed.FeedException
IOException

urlTtransform

public static String urlTtransform(String url)
Transform a URL to a safe String, where all the evil chars are removed

Parameters:
url -
Returns:

FeedFrontpageUrl

public static String FeedFrontpageUrl()

GenerateJobUrl

public static String GenerateJobUrl(hudson.model.AbstractBuild<?,?> build)
Factory method to create the job url for our feed.


getRootUrl

public static String getRootUrl()


Copyright © 2004-2013. All Rights Reserved.