hudson.ivy
Class IvyBuildTrigger.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<hudson.tasks.Publisher>
hudson.ivy.IvyBuildTrigger.DescriptorImpl
- All Implemented Interfaces:
- hudson.model.Saveable
- Enclosing class:
- IvyBuildTrigger
public static final class IvyBuildTrigger.DescriptorImpl
- extends hudson.model.Descriptor<hudson.tasks.Publisher>
The descriptor implementation of this trigger
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType |
| Fields inherited from class hudson.model.Descriptor |
ALL, clazz |
|
Method Summary |
boolean |
configure(org.kohsuke.stapler.StaplerRequest req)
|
protected void |
convert(java.util.Map<java.lang.String,java.lang.Object> oldPropertyBag)
|
void |
doCheckIvyConf(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Check that the Ivy configuration file exist |
void |
doCheckIvyFile(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Check that the ivy.xml file exist |
IvyBuildTrigger.IvyConfiguration[] |
getConfigurations()
|
java.lang.String |
getDisplayName()
|
java.util.List<hudson.model.AbstractProject> |
getProjectsFor(org.apache.ivy.core.module.id.ModuleId searchId)
Return a List of AbstractProjects that have an IvyBuildtrigger configured with an
ivy file Matching the given ModuleID |
void |
invalidateProjectMap()
This method should be called if the cached Project Map may be invalid. |
hudson.tasks.Publisher |
newInstance(org.kohsuke.stapler.StaplerRequest req)
|
| Methods inherited from class hudson.model.Descriptor |
configure, configure, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, load, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getProjectsFor
public java.util.List<hudson.model.AbstractProject> getProjectsFor(org.apache.ivy.core.module.id.ModuleId searchId)
- Return a List of AbstractProjects that have an IvyBuildtrigger configured with an
ivy file Matching the given ModuleID
- Parameters:
id - The Module Id to search for
- Returns:
- a List of Matching Projects
invalidateProjectMap
public void invalidateProjectMap()
- This method should be called if the cached Project Map may be invalid.
Reason for this maybe:
- An Ivy File has Changed
- an Project was renamed
getConfigurations
public IvyBuildTrigger.IvyConfiguration[] getConfigurations()
- Returns:
- every existing configuration
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>
convert
protected void convert(java.util.Map<java.lang.String,java.lang.Object> oldPropertyBag)
- Overrides:
convert in class hudson.model.Descriptor<hudson.tasks.Publisher>
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req)
- Overrides:
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>
doCheckIvyConf
public void doCheckIvyConf(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException,
javax.servlet.ServletException
- Check that the Ivy configuration file exist
- Parameters:
req - the Stapler requestrsp - the Stapler response
- Throws:
java.io.IOException
javax.servlet.ServletException
doCheckIvyFile
public void doCheckIvyFile(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException,
javax.servlet.ServletException
- Check that the ivy.xml file exist
- Parameters:
req - the Stapler requestrsp - the Stapler response
- Throws:
java.io.IOException
javax.servlet.ServletException
newInstance
public hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest req)
- Overrides:
newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>
Copyright © 2009. All Rights Reserved.