|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.model.AbstractModelObject
hudson.model.Actionable
hudson.model.AbstractItem
hudson.model.Job<P,R>
hudson.model.AbstractProject<P,R>
hudson.ivy.AbstractIvyProject<IvyModuleSet,IvyModuleSetBuild>
hudson.ivy.IvyModuleSet
public final class IvyModuleSet
Group of IvyModules.
This corresponds to the group of Ivy module descriptors that constitute a single branch of projects.
| Nested Class Summary | |
|---|---|
static class |
IvyModuleSet.BecauseOfModuleBuildInProgress
Because one of our own modules is currently building. |
static class |
IvyModuleSet.DescriptorImpl
|
| Nested classes/interfaces inherited from class hudson.model.AbstractProject |
|---|
hudson.model.AbstractProject.AbstractProjectDescriptor, hudson.model.AbstractProject.BecauseOfBuildInProgress, hudson.model.AbstractProject.BecauseOfUpstreamBuildInProgress |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Field Summary | |
|---|---|
static IvyModuleSet.DescriptorImpl |
DESCRIPTOR
|
| Fields inherited from class hudson.model.AbstractProject |
|---|
ABORT, blockBuildWhenUpstreamBuilding, builds, disabled, transientActions, triggers |
| Fields inherited from class hudson.model.Job |
|---|
HISTORY_ADAPTER, nextBuildNumber, properties |
| Fields inherited from class hudson.model.AbstractItem |
|---|
description, name |
| Fields inherited from interface hudson.model.Item |
|---|
BUILD, CONFIGURE, CREATE, DELETE, EXTENDED_READ, PERMISSIONS, READ, WORKSPACE |
| Constructor Summary | |
|---|---|
IvyModuleSet(java.lang.String name)
|
|
| Method Summary | |
|---|---|
protected void |
addTransientActionsFromBuild(IvyModuleSetBuild build,
java.util.Set<java.lang.Class> added)
|
hudson.model.AbstractProject<?,?> |
asProject()
|
int |
assignBuildNumber()
To make it easy to grasp relationship among modules and the module set, we'll align the build numbers of all the modules. |
protected void |
buildDependencyGraph(hudson.model.DependencyGraph graph)
|
hudson.util.FormValidation |
doCheckFileInWorkspace(java.lang.String value)
Check the location of the ivy descriptor file, alternate settings file, etc - any file. |
hudson.util.FormValidation |
doCheckIvySettingsFile(java.lang.String value)
Check that the provided file is a relative path. |
void |
doDoDeleteAllDisabledModules(org.kohsuke.stapler.StaplerResponse rsp)
Delete all disabled modules. |
java.util.Collection<hudson.model.Job> |
getAllJobs()
|
java.lang.String |
getAnt()
Gets the Ant to invoke. |
java.lang.String |
getAntOpts()
Possibly null, whitespace-separated (including TAB, NL, etc) VM options to be used to launch Ant process. |
java.lang.String |
getAntProperties()
|
protected java.lang.Class<IvyModuleSetBuild> |
getBuildClass()
|
java.lang.String |
getBuildFile()
|
hudson.util.DescribableList<hudson.tasks.BuildWrapper,hudson.model.Descriptor<hudson.tasks.BuildWrapper>> |
getBuildWrappers()
Deprecated. as of 1.335 Use getBuildWrappersList() to be consistent with other subtypes of AbstractProject. |
hudson.util.DescribableList<hudson.tasks.BuildWrapper,hudson.model.Descriptor<hudson.tasks.BuildWrapper>> |
getBuildWrappersList()
|
hudson.model.queue.CauseOfBlockage |
getCauseOfBlockage()
|
java.lang.String |
getChangedModulesProperty()
|
IvyModuleSet.DescriptorImpl |
getDescriptor()
|
java.util.List<IvyModule> |
getDisabledModules(boolean disabled)
Possibly empty list of all disabled modules (if disabled==true) or all enabeld modules (if disabled==false) |
java.lang.Object |
getDynamic(java.lang.String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
|
IvyModule |
getItem(java.lang.String name)
|
java.util.Collection<IvyModule> |
getItems()
|
java.lang.String |
getIvyBranch()
|
java.lang.String |
getIvyFileExcludesPattern()
|
java.lang.String |
getIvyFilePattern()
|
java.lang.String |
getIvySettingsFile()
|
IvyModule |
getModule(java.lang.String name)
|
java.lang.Class<? extends hudson.model.AbstractProject> |
getModuleClass()
|
hudson.util.DescribableList<hudson.tasks.Publisher,hudson.model.Descriptor<hudson.tasks.Publisher>> |
getModulePublishers()
List of active Publishers that should be applied to all module builds. |
java.util.Collection<IvyModule> |
getModules()
|
hudson.model.Hudson |
getParent()
|
hudson.util.DescribableList<hudson.tasks.Publisher,hudson.model.Descriptor<hudson.tasks.Publisher>> |
getPublishers()
List of active Publishers. |
hudson.util.DescribableList<hudson.tasks.Publisher,hudson.model.Descriptor<hudson.tasks.Publisher>> |
getPublishersList()
|
java.util.List<hudson.model.Queue.Item> |
getQueueItems()
Returns the IvyModules that are in the queue. |
java.lang.String |
getRelativePathToDescriptorFromModuleRoot()
|
protected java.util.Set<hudson.model.ResourceActivity> |
getResourceActivities()
|
java.io.File |
getRootDirFor(IvyModule child)
|
java.lang.String |
getTargets()
Gets the list of targets to execute. |
java.lang.String |
getUrlChildPrefix()
|
java.lang.String |
getUserConfiguredAntOpts()
Gets the ANT_OPTS specified by the user, without taking global inheritance into account. |
java.lang.String |
getUserConfiguredTargets()
Gets the list of targets specified by the user, without taking inheritance into account. |
boolean |
hasDisabledModule()
Returns true if there's any disabled module. |
boolean |
ignoreUpstreamChanges()
|
boolean |
isAggregatorStyleBuild()
|
boolean |
isArchivingDisabled()
|
boolean |
isFingerprintConfigured()
|
boolean |
isIncrementalBuild()
|
void |
logRotate()
|
protected hudson.search.SearchIndexBuilder |
makeSearchIndex()
|
void |
onLoad(hudson.model.ItemGroup<? extends hudson.model.Item> parent,
java.lang.String name)
|
void |
setAggregatorStyleBuild(boolean aggregatorStyleBuild)
|
void |
setAnt(java.lang.String antName)
|
void |
setAntOpts(java.lang.String antOpts)
Set ANT_OPTS. |
void |
setIgnoreUpstremChanges(boolean ignoreUpstremChanges)
|
void |
setIncrementalBuild(boolean incrementalBuild)
|
void |
setIsArchivingDisabled(boolean archivingDisabled)
|
void |
setIvyBranch(java.lang.String ivyBranch)
|
void |
setIvyFileExcludesPattern(java.lang.String ivyFileExcludesPattern)
|
void |
setIvyFilePattern(java.lang.String ivyFilePattern)
|
void |
setIvySettingsFile(java.lang.String ivySettingsFile)
|
void |
setRelativePathToDescriptorFromModuleRoot(java.lang.String relativePathToDescriptorFromModuleRoot)
|
void |
setTargets(java.lang.String targets)
|
protected void |
submit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
|
protected void |
updateTransientActions()
|
| Methods inherited from class hudson.model.AbstractProject |
|---|
_getRuns, addProperty, addToList, addTrigger, blockBuildWhenUpstreamBuilding, buildDescribable, buildDescribable, checkAbortPermission, checkout, createExecutable, createHistoryWidget, disable, doBuild, doBuildWithParameters, doCancelQueue, doCheckRetryCount, doConfigSubmit, doDisable, doDoWipeOutWorkspace, doEnable, doPolling, doRssChangelog, doWs, enable, findNearest, getActions, getAssignedLabel, getAuthToken, getBuildingUpstream, getBuildTriggerUpstreamProjects, getDownstreamProjects, getEstimatedDuration, getHasCustomQuietPeriod, getIconColor, getJDK, getLastBuiltOn, getModuleRoot, getModuleRoots, getProminentActions, getPronoun, getQueueItem, getQuietPeriod, getRelationship, getResourceList, getRootProject, getScm, getScmCheckoutRetryCount, getSomeBuildWithWorkspace, getSomeWorkspace, getTransitiveDownstreamProjects, getTransitiveUpstreamProjects, getTrigger, getTriggers, getUpstreamProjects, getWhyBlocked, getWorkspace, getWorkspaceResource, hasAbortPermission, hasCustomScmCheckoutRetryCount, hasParticipant, isBuildable, isBuildBlocked, isConcurrentBuild, isConfigurable, isDisabled, isInQueue, isParameterized, loadBuild, makeDisabled, newBuild, performDelete, poll, pollSCMChanges, removeFromList, removeRun, removeTrigger, scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuild2, scheduleBuild2, scheduleBuild2, schedulePolling, setAssignedLabel, setBlockBuildWhenUpstreamBuilding, setConcurrentBuild, setJDK, setQuietPeriod, setScm |
| Methods inherited from class hudson.model.Job |
|---|
doBuildStatus, doConfigDotXml, doDescription, doDoRename, doRssAll, doRssFailed, doTimelineData, getACL, getAllProperties, getBuild, getBuildByNumber, getBuildDir, getBuildForCLI, getBuildHealth, getBuildHealthReports, getBuilds, getBuilds, getBuildsAsMap, getBuildsByTimestamp, getBuildStatusUrl, getBuildTimeGraph, getFirstBuild, getLastBuild, getLastCompletedBuild, getLastFailedBuild, getLastStableBuild, getLastSuccessfulBuild, getLogRotator, getNearestBuild, getNearestOldBuild, getNextBuildNumber, getPermalinks, getProperties, getProperty, getWidgets, isBuilding, isKeepDependencies, isNameEditable, onCopiedFrom, removeProperty, removeProperty, renameTo, saveNextBuildNumber, setLogRotator, supportsLogRotator, updateNextBuildNumber |
| Methods inherited from class hudson.model.AbstractItem |
|---|
checkPermission, delete, delete, doDoDelete, doSetName, doSubmitDescription, getAbsoluteUrl, getApi, getConfigFile, getDescription, getDescriptorByName, getDisplayName, getFullDisplayName, getFullName, getName, getRootDir, getSearchUrl, getShortUrl, getUrl, hasPermission, resolveForCLI, save, setDescription, toString |
| Methods inherited from class hudson.model.Actionable |
|---|
addAction, getAction, getAction, getActions |
| Methods inherited from class hudson.model.AbstractModelObject |
|---|
getSearch, getSearchIndex, getSearchName, requirePOST, sendError, sendError, sendError, sendError, sendError |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface hudson.model.ItemGroup |
|---|
getFullDisplayName, getFullName, getUrl |
| Methods inherited from interface hudson.model.SCMedItem |
|---|
getScm, poll, pollSCMChanges |
| Methods inherited from interface hudson.model.BuildableItem |
|---|
scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuild |
| Methods inherited from interface hudson.model.Item |
|---|
delete, getAbsoluteUrl, getDisplayName, getFullDisplayName, getFullName, getName, getShortUrl, getUrl, onCopiedFrom |
| Methods inherited from interface hudson.model.PersistenceRoot |
|---|
getRootDir |
| Methods inherited from interface hudson.search.SearchableModelObject |
|---|
getSearch |
| Methods inherited from interface hudson.search.SearchItem |
|---|
getSearchIndex, getSearchName, getSearchUrl |
| Methods inherited from interface hudson.security.AccessControlled |
|---|
checkPermission, getACL, hasPermission |
| Methods inherited from interface hudson.model.Queue.Task |
|---|
checkAbortPermission, createExecutable, getAssignedLabel, getEstimatedDuration, getFullDisplayName, getLastBuiltOn, getName, getUrl, getWhyBlocked, hasAbortPermission, isBuildBlocked, isConcurrentBuild |
| Methods inherited from interface hudson.model.ResourceActivity |
|---|
getDisplayName, getResourceList |
| Field Detail |
|---|
@Extension(ordinal=890.0) public static final IvyModuleSet.DescriptorImpl DESCRIPTOR
| Constructor Detail |
|---|
public IvyModuleSet(java.lang.String name)
| Method Detail |
|---|
public java.lang.String getUrlChildPrefix()
getUrlChildPrefix in interface hudson.model.ItemGroup<IvyModule>public hudson.model.Hudson getParent()
getParent in interface hudson.model.ItemgetParent in interface hudson.model.TopLevelItemgetParent in class hudson.model.AbstractItempublic java.util.Collection<IvyModule> getItems()
getItems in interface hudson.model.ItemGroup<IvyModule>@Exported public java.util.Collection<IvyModule> getModules()
public IvyModule getItem(java.lang.String name)
getItem in interface hudson.model.ItemGroup<IvyModule>public IvyModule getModule(java.lang.String name)
protected void updateTransientActions()
updateTransientActions in class AbstractIvyProject<IvyModuleSet,IvyModuleSetBuild>
protected void addTransientActionsFromBuild(IvyModuleSetBuild build,
java.util.Set<java.lang.Class> added)
addTransientActionsFromBuild in class AbstractIvyProject<IvyModuleSet,IvyModuleSetBuild>public boolean hasDisabledModule()
public java.util.List<IvyModule> getDisabledModules(boolean disabled)
public boolean isIncrementalBuild()
public java.lang.String getChangedModulesProperty()
public boolean isAggregatorStyleBuild()
public boolean ignoreUpstreamChanges()
public boolean isArchivingDisabled()
public void setIncrementalBuild(boolean incrementalBuild)
public java.lang.String getIvyFilePattern()
public void setIvyFilePattern(java.lang.String ivyFilePattern)
public java.lang.String getIvyFileExcludesPattern()
public void setIvyFileExcludesPattern(java.lang.String ivyFileExcludesPattern)
public java.lang.String getIvySettingsFile()
public void setIvySettingsFile(java.lang.String ivySettingsFile)
public java.lang.String getIvyBranch()
public void setIvyBranch(java.lang.String ivyBranch)
public void setAggregatorStyleBuild(boolean aggregatorStyleBuild)
public void setIgnoreUpstremChanges(boolean ignoreUpstremChanges)
public void setIsArchivingDisabled(boolean archivingDisabled)
public hudson.util.DescribableList<hudson.tasks.Publisher,hudson.model.Descriptor<hudson.tasks.Publisher>> getModulePublishers()
Publishers that should be applied to all module builds.
public hudson.util.DescribableList<hudson.tasks.Publisher,hudson.model.Descriptor<hudson.tasks.Publisher>> getPublishers()
Publishers. Can be empty but never null.
public hudson.util.DescribableList<hudson.tasks.Publisher,hudson.model.Descriptor<hudson.tasks.Publisher>> getPublishersList()
getPublishersList in class hudson.model.AbstractProject<IvyModuleSet,IvyModuleSetBuild>public hudson.util.DescribableList<hudson.tasks.BuildWrapper,hudson.model.Descriptor<hudson.tasks.BuildWrapper>> getBuildWrappersList()
getBuildWrappersList in interface hudson.model.BuildableItemWithBuildWrappers@Deprecated public hudson.util.DescribableList<hudson.tasks.BuildWrapper,hudson.model.Descriptor<hudson.tasks.BuildWrapper>> getBuildWrappers()
getBuildWrappersList() to be consistent with other subtypes of AbstractProject.
BuildWrappers. Can be empty but never null.
public java.lang.Object getDynamic(java.lang.String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
getDynamic in class hudson.model.Job<IvyModuleSet,IvyModuleSetBuild>public java.io.File getRootDirFor(IvyModule child)
getRootDirFor in interface hudson.model.ItemGroup<IvyModule>public java.util.Collection<hudson.model.Job> getAllJobs()
getAllJobs in interface hudson.model.ItemgetAllJobs in class hudson.model.Job<IvyModuleSet,IvyModuleSetBuild>protected java.lang.Class<IvyModuleSetBuild> getBuildClass()
getBuildClass in class hudson.model.AbstractProject<IvyModuleSet,IvyModuleSetBuild>protected hudson.search.SearchIndexBuilder makeSearchIndex()
makeSearchIndex in class hudson.model.AbstractProject<IvyModuleSet,IvyModuleSetBuild>public boolean isFingerprintConfigured()
isFingerprintConfigured in class hudson.model.AbstractProject<IvyModuleSet,IvyModuleSetBuild>
public void onLoad(hudson.model.ItemGroup<? extends hudson.model.Item> parent,
java.lang.String name)
throws java.io.IOException
onLoad in interface hudson.model.ItemonLoad in class hudson.model.AbstractProject<IvyModuleSet,IvyModuleSetBuild>java.io.IOException
public int assignBuildNumber()
throws java.io.IOException
This method is invoked from Executor.run(),
and because of the mutual exclusion among IvyModuleSetBuild
and IvyBuild, we can safely touch all the modules.
assignBuildNumber in class hudson.model.Job<IvyModuleSet,IvyModuleSetBuild>java.io.IOException
public void logRotate()
throws java.io.IOException,
java.lang.InterruptedException
logRotate in class hudson.model.Job<IvyModuleSet,IvyModuleSetBuild>java.io.IOException
java.lang.InterruptedExceptionprotected void buildDependencyGraph(hudson.model.DependencyGraph graph)
buildDependencyGraph in class hudson.model.AbstractProject<IvyModuleSet,IvyModuleSetBuild>protected java.util.Set<hudson.model.ResourceActivity> getResourceActivities()
getResourceActivities in class hudson.model.AbstractProject<IvyModuleSet,IvyModuleSetBuild>public hudson.model.queue.CauseOfBlockage getCauseOfBlockage()
getCauseOfBlockage in interface hudson.model.Queue.TaskgetCauseOfBlockage in class hudson.model.AbstractProject<IvyModuleSet,IvyModuleSetBuild>public hudson.model.AbstractProject<?,?> asProject()
asProject in interface hudson.model.BuildableItemWithBuildWrappersasProject in interface hudson.model.SCMedItempublic java.lang.String getTargets()
public void setTargets(java.lang.String targets)
public java.lang.String getRelativePathToDescriptorFromModuleRoot()
public void setRelativePathToDescriptorFromModuleRoot(java.lang.String relativePathToDescriptorFromModuleRoot)
public java.lang.String getAntOpts()
public void setAntOpts(java.lang.String antOpts)
public java.lang.String getUserConfiguredAntOpts()
This is only used to present the UI screen, and in all the other cases
getAntOpts() should be used.
public java.lang.String getBuildFile()
public java.lang.String getAntProperties()
public java.lang.String getAnt()
public void setAnt(java.lang.String antName)
public java.util.List<hudson.model.Queue.Item> getQueueItems()
IvyModules that are in the queue.
public java.lang.String getUserConfiguredTargets()
This is only used to present the UI screen, and in
all the other cases getTargets() should be used.
protected void submit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException,
javax.servlet.ServletException,
hudson.model.Descriptor.FormException
submit in class hudson.model.AbstractProject<IvyModuleSet,IvyModuleSetBuild>java.io.IOException
javax.servlet.ServletException
hudson.model.Descriptor.FormExceptionpublic java.lang.Class<? extends hudson.model.AbstractProject> getModuleClass()
public void doDoDeleteAllDisabledModules(org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public hudson.util.FormValidation doCheckFileInWorkspace(@QueryParameter
java.lang.String value)
throws java.io.IOException,
javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
public hudson.util.FormValidation doCheckIvySettingsFile(@QueryParameter
java.lang.String value)
throws java.io.IOException,
javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletExceptionpublic IvyModuleSet.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.model.TopLevelItem>getDescriptor in interface hudson.model.TopLevelItem
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||