|
||||||||||
| 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<IvyModule,IvyBuild>
hudson.ivy.IvyModule
public final class IvyModule
Job that builds projects based on Ivy.
| Nested Class Summary | |
|---|---|
static class |
IvyModule.BecauseOfUpstreamModuleBuildInProgress
Because the upstream module build is in progress, and we are configured to wait for that. |
| Nested classes/interfaces inherited from class hudson.model.AbstractProject |
|---|
hudson.model.AbstractProject.AbstractProjectDescriptor, hudson.model.AbstractProject.BecauseOfBuildInProgress, hudson.model.AbstractProject.BecauseOfDownstreamBuildInProgress, hudson.model.AbstractProject.BecauseOfUpstreamBuildInProgress |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Field Summary |
|---|
| Fields inherited from class hudson.model.AbstractProject |
|---|
ABORT, AFFINITY_CHO0SER_KEY, APPOINTED_NODE_PROPERTY_NAME, ASSIGNED_LABEL_KEY, BASIC_KEY, BLOCK_BUILD_WHEN_DOWNSTREAM_BUILDING_PROPERTY_NAME, BLOCK_BUILD_WHEN_UPSTREAM_BUILDING_PROPERTY_NAME, blockBuildWhenDownstreamBuilding, blockBuildWhenUpstreamBuilding, BUILD_TRIGGER_PROPERTY_NAME, builds, CLEAN_WORKSPACE_REQUIRED_PROPERTY_NAME, CONCURRENT_BUILD_PROPERTY_NAME, CUSTOM_WORKSPACE_PROPERTY_NAME, disabled, HAS_QUIET_PERIOD_PROPERTY_NAME, HAS_SCM_CHECKOUT_RETRY_COUNT_PROPERTY_NAME, JDK_PROPERTY_NAME, QUIET_PERIOD_PROPERTY_NAME, SCM_CHECKOUT_RETRY_COUNT_PROPERTY_NAME, SCM_PROPERTY_NAME, SLAVE_KEY, transientActions, triggers |
| Fields inherited from class hudson.model.Job |
|---|
cascadingProject, createdBy, HISTORY_ADAPTER, LOG_ROTATOR_PROPERTY_NAME, nextBuildNumber, PARAMETERS_DEFINITION_JOB_PROPERTY_PROPERTY_NAME, properties, PROPERTY_NAME_SEPARATOR |
| Fields inherited from class hudson.model.AbstractItem |
|---|
description, name |
| Fields inherited from interface hudson.model.Saveable |
|---|
NOOP |
| Fields inherited from interface hudson.model.Item |
|---|
BUILD, CONFIGURE, CREATE, DELETE, EXTENDED_READ, PERMISSIONS, READ, WIPEOUT, WORKSPACE |
| Method Summary | |
|---|---|
protected void |
addTransientActionsFromBuild(IvyBuild build,
List<hudson.model.Action> collection,
Set<Class> added)
|
ModuleDependency |
asDependency()
Gets organisation+name+revision as ModuleDependency. |
protected void |
buildDependencyGraph(hudson.model.DependencyGraph graph)
|
protected List<hudson.tasks.Publisher> |
createModulePublishers()
Creates a list of Publishers to be used for a build of this project. |
protected void |
doSetName(String name)
|
protected Collection<IvyModule> |
getAllIvyModules()
Returns all Ivy modules in this Jenkins instance. |
hudson.model.Label |
getAssignedLabel()
IvyModule uses the workspace of the IvyModuleSet, so it
always needs to be built on the same slave as the parent. |
protected Class<IvyBuild> |
getBuildClass()
|
hudson.util.DescribableList<hudson.tasks.BuildWrapper,hudson.model.Descriptor<hudson.tasks.BuildWrapper>> |
getBuildWrappersList()
|
hudson.model.queue.CauseOfBlockage |
getCauseOfBlockage()
|
String |
getDisplayName()
|
String |
getIvyBranch()
Gets the Ivy branch in the ivy.xml file as of the last build. |
hudson.model.JDK |
getJDK()
|
hudson.tasks.LogRotator |
getLogRotator()
IvyModule follows the same log rotation schedule as its parent. |
ModuleName |
getModuleName()
|
IvyModuleSet |
getParent()
|
String |
getPronoun()
|
hudson.util.DescribableList<hudson.tasks.Publisher,hudson.model.Descriptor<hudson.tasks.Publisher>> |
getPublishers()
List of active Publishers configured for this module. |
hudson.util.DescribableList<hudson.tasks.Publisher,hudson.model.Descriptor<hudson.tasks.Publisher>> |
getPublishersList()
|
String |
getRelativePath()
Relative path to this module's root directory from the workspace of a IvyModuleSet. |
String |
getRelativePathToDescriptorFromModuleRoot()
|
String |
getRelativePathToModuleRoot()
|
String |
getRevision()
Gets the revision number in the ivy.xml file as of the last build. |
String |
getShortUrl()
|
String |
getTargets()
Gets the list of targets to execute for this module. |
String |
getUserConfiguredRelativePathToDescriptorFromModuleRoot()
|
hudson.model.Resource |
getWorkspaceResource()
Deprecated. as of 1.319 in AbstractProject. |
boolean |
isBuildable()
|
boolean |
isFingerprintConfigured()
|
boolean |
isNameEditable()
|
boolean |
isUseUpstreamParameters()
|
protected IvyBuild |
newBuild()
|
void |
onLoad(hudson.model.ItemGroup<? extends hudson.model.Item> parent,
String name)
|
protected void |
performDelete()
|
void |
setLogRotator(hudson.tasks.LogRotator logRotator)
Deprecated. Not allowed to configure log rotation per module. |
protected void |
submit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
|
boolean |
supportsLogRotator()
|
protected void |
updateTransientActions()
|
| Methods inherited from class hudson.ivy.AbstractIvyProject |
|---|
createTransientActions, scheduleBuild |
| Methods inherited from class hudson.model.AbstractProject |
|---|
_getRuns, addProperty, addToList, addTrigger, blockBuildWhenDownstreamBuilding, blockBuildWhenUpstreamBuilding, buildDescribable, buildDescribable, buildProjectProperties, buildTriggers, checkAbortPermission, checkout, cleanWorkspace, createExecutable, createHistoryWidget, disable, doBuild, doBuildWithParameters, doCancelQueue, doCheckRetryCount, doConfigSubmit, doDisable, doDoWipeOutWorkspace, doEnable, doPolling, doRssChangelog, doWs, enable, findNearest, getActions, getAppointedNode, getAssignedLabelString, getAuthToken, getBuildingDownstream, getBuildingUpstream, getBuildTriggerUpstreamProjects, getDelay, getDownstreamProjects, getHasCustomQuietPeriod, getIconColor, getJDKName, getLastBuiltOn, getModuleRoot, getModuleRoots, getOwnerTask, getProminentActions, getQueueItem, getQuietPeriod, getRelationship, getResourceActivities, getResourceList, getRootProject, getSameNodeConstraint, getScm, getScmCheckoutRetryCount, getSomeBuildWithWorkspace, getSomeWorkspace, getSubTasks, getTransitiveDownstreamProjects, getTransitiveUpstreamProjects, getTrigger, getTriggerDescribableList, getTriggers, getTriggersList, getUpstreamProjects, getWhyBlocked, getWorkspace, hasAbortPermission, hasCustomScmCheckoutRetryCount, hasParticipant, isAdvancedAffinityChooser, isBuildBlocked, isCleanWorkspaceRequired, isConcurrentBuild, isConfigurable, isDisabled, isInQueue, isParameterized, loadBuild, makeDisabled, makeSearchIndex, onCreatedFromScratch, poll, pollSCMChanges, removeFromList, removeRun, removeTrigger, resolveForCLI, scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuild2, scheduleBuild2, scheduleBuild2, scheduleBuild2, schedulePolling, setAdvancedAffinityChooser, setAppointedNode, setAssignedLabel, setAssignedNode, setBlockBuildWhenDownstreamBuilding, setBlockBuildWhenUpstreamBuilding, setCleanWorkspaceRequired, setConcurrentBuild, setJDK, setJDK, setQuietPeriod, setQuietPeriod, setScm, setScmCheckoutRetryCount, setScmCheckoutRetryCount, setTriggers |
| Methods inherited from class hudson.model.Job |
|---|
addCascadingChild, assignBuildNumber, doBuildStatus, doDescription, doDoRename, doModifyCascadingProperty, doResetProjectProperty, doRssAll, doRssFailed, doUpdateCascadingProject, getACL, getAllJobs, getAllProperties, getBuild, getBuildByNumber, getBuildDir, getBuildForCLI, getBuildHealth, getBuildHealthReports, getBuilds, getBuilds, getBuildsAsMap, getBuildsByTimestamp, getBuildStatusUrl, getBuildTimeGraph, getCascadingChildrenNames, getCascadingProject, getCascadingProjectName, getCreatedBy, getCreationTime, getDynamic, getEstimatedDuration, getFirstBuild, getLastBuild, getLastBuildsOverThreshold, getLastCompletedBuild, getLastFailedBuild, getLastStableBuild, getLastSuccessfulBuild, getLastUnstableBuild, getLastUnsuccessfulBuild, getNearestBuild, getNearestOldBuild, getNextBuildNumber, getOverrides, getPermalinks, getProjectProperties, getProperties, getProperty, getProperty, getProperty, getTimeline, getWidgets, grantProjectMatrixPermissions, hasCascadingChild, hasCascadingProject, initAllowSave, initProjectProperties, isAllowSave, isBuilding, isHoldOffBuildUntilSave, isKeepDependencies, logRotate, onCopiedFrom, performBeforeItemRenaming, putAllProjectProperties, putProjectProperty, removeCascadingChild, removeProjectProperty, removeProperty, removeProperty, renameCascadingChildName, renameCascadingProjectNameTo, renameTo, save, saveNextBuildNumber, setAllowSave, setCascadingProjectName, setCreatedBy, setCreationTime, updateNextBuildNumber |
| Methods inherited from class hudson.model.AbstractItem |
|---|
checkPermission, delete, delete, doConfigDotXml, doDoDelete, doSubmitDescription, getAbsoluteUrl, getApi, getConfigFile, getDescription, getDescriptorByName, getFullDisplayName, getFullName, getName, getRootDir, getSearchUrl, getUrl, hasPermission, setDescription, toString |
| Methods inherited from class hudson.model.Actionable |
|---|
addAction, getAction, getAction, getActions |
| Methods inherited from class hudson.model.AbstractModelObject |
|---|
getConfiguredHudsonProperty, 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.Saveable |
|---|
save |
| Methods inherited from interface hudson.model.Queue.Task |
|---|
getFullDisplayName, getName, getUrl |
| Methods inherited from interface hudson.model.queue.SubTask |
|---|
getEstimatedDuration |
| Methods inherited from interface org.eclipse.hudson.api.model.IJob |
|---|
assignBuildNumber, getAllProperties, getBuildByNumber, getBuildHealth, getBuildHealthReports, getBuilds, getBuilds, getBuildsAsMap, getBuildStatusUrl, getBuildTimeGraph, getCreatedBy, getCreationTime, getFirstBuild, getLastBuild, getLastBuildsOverThreshold, getLastCompletedBuild, getLastFailedBuild, getLastStableBuild, getLastSuccessfulBuild, getLastUnstableBuild, getLastUnsuccessfulBuild, getNearestBuild, getNearestOldBuild, getNextBuildNumber, getPermalinks, getProperties, getTimeline, getWidgets, isBuilding, isKeepDependencies, logRotate, updateNextBuildNumber |
| Methods inherited from interface hudson.model.Item |
|---|
delete, getAbsoluteUrl, getAllJobs, getFullDisplayName, getFullName, getName, getUrl, onCopiedFrom, save |
| 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 |
| Method Detail |
|---|
public hudson.util.DescribableList<hudson.tasks.BuildWrapper,hudson.model.Descriptor<hudson.tasks.BuildWrapper>> getBuildWrappersList()
public hudson.tasks.LogRotator getLogRotator()
IvyModule follows the same log rotation schedule as its parent.
getLogRotator in interface org.eclipse.hudson.api.model.IJobgetLogRotator in class hudson.model.Job<IvyModule,IvyBuild>@Deprecated public void setLogRotator(hudson.tasks.LogRotator logRotator)
setLogRotator in interface org.eclipse.hudson.api.model.IJobsetLogRotator in class hudson.model.Job<IvyModule,IvyBuild>public boolean supportsLogRotator()
supportsLogRotator in interface org.eclipse.hudson.api.model.IJobsupportsLogRotator in class hudson.model.Job<IvyModule,IvyBuild>public boolean isBuildable()
isBuildable in interface org.eclipse.hudson.api.model.IJobisBuildable in class hudson.model.AbstractProject<IvyModule,IvyBuild>protected void doSetName(String name)
doSetName in class hudson.model.AbstractItem
public void onLoad(hudson.model.ItemGroup<? extends hudson.model.Item> parent,
String name)
throws IOException
onLoad in interface hudson.model.ItemonLoad in class hudson.model.AbstractProject<IvyModule,IvyBuild>IOExceptionpublic String getRelativePath()
IvyModuleSet.
The path separator is normalized to '/'.
public String getRevision()
public String getIvyBranch()
public String getTargets()
public String getRelativePathToDescriptorFromModuleRoot()
public String getUserConfiguredRelativePathToDescriptorFromModuleRoot()
public String getRelativePathToModuleRoot()
public hudson.util.DescribableList<hudson.tasks.Publisher,hudson.model.Descriptor<hudson.tasks.Publisher>> getPublishersList()
getPublishersList in class hudson.model.AbstractProject<IvyModule,IvyBuild>public hudson.model.JDK getJDK()
getJDK in interface org.eclipse.hudson.api.model.IAbstractProjectgetJDK in class hudson.model.AbstractProject<IvyModule,IvyBuild>protected Class<IvyBuild> getBuildClass()
getBuildClass in class hudson.model.AbstractProject<IvyModule,IvyBuild>
protected IvyBuild newBuild()
throws IOException
newBuild in class hudson.model.AbstractProject<IvyModule,IvyBuild>IOExceptionpublic ModuleName getModuleName()
public ModuleDependency asDependency()
ModuleDependency.
public String getShortUrl()
getShortUrl in interface hudson.model.ItemgetShortUrl in class hudson.model.AbstractItem@Exported(visibility=2) public String getDisplayName()
getDisplayName in interface hudson.model.ItemgetDisplayName in interface hudson.model.ModelObjectgetDisplayName in interface hudson.model.ResourceActivitygetDisplayName in class hudson.model.AbstractItempublic String getPronoun()
getPronoun in class hudson.model.AbstractProject<IvyModule,IvyBuild>public boolean isNameEditable()
isNameEditable in interface org.eclipse.hudson.api.model.IJobisNameEditable in class hudson.model.Job<IvyModule,IvyBuild>public IvyModuleSet getParent()
getParent in interface hudson.model.ItemgetParent in class hudson.model.AbstractItempublic hudson.model.Label getAssignedLabel()
IvyModule uses the workspace of the IvyModuleSet, so it
always needs to be built on the same slave as the parent.
getAssignedLabel in interface hudson.model.queue.SubTaskgetAssignedLabel in interface org.eclipse.hudson.api.model.IAbstractProjectgetAssignedLabel in class hudson.model.AbstractProject<IvyModule,IvyBuild>@Deprecated public hudson.model.Resource getWorkspaceResource()
AbstractProject.
IvyModule is a part of the parent's workspace.
That is, builds are incompatible with any
IvyModule builds, whereas IvyModule builds are compatible
with each other.
getWorkspaceResource in class hudson.model.AbstractProject<IvyModule,IvyBuild>public boolean isFingerprintConfigured()
isFingerprintConfigured in class hudson.model.AbstractProject<IvyModule,IvyBuild>protected void updateTransientActions()
updateTransientActions in class hudson.model.AbstractProject<IvyModule,IvyBuild>protected void buildDependencyGraph(hudson.model.DependencyGraph graph)
buildDependencyGraph in class hudson.model.AbstractProject<IvyModule,IvyBuild>protected Collection<IvyModule> getAllIvyModules()
public hudson.model.queue.CauseOfBlockage getCauseOfBlockage()
getCauseOfBlockage in interface hudson.model.Queue.TaskgetCauseOfBlockage in class hudson.model.AbstractProject<IvyModule,IvyBuild>
protected void addTransientActionsFromBuild(IvyBuild build,
List<hudson.model.Action> collection,
Set<Class> added)
addTransientActionsFromBuild in class AbstractIvyProject<IvyModule,IvyBuild>collection - Add the transient actions to this collection.public hudson.util.DescribableList<hudson.tasks.Publisher,hudson.model.Descriptor<hudson.tasks.Publisher>> getPublishers()
Publishers configured for this module.
protected void submit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException,
javax.servlet.ServletException,
hudson.model.Descriptor.FormException
submit in class hudson.model.AbstractProject<IvyModule,IvyBuild>IOException
javax.servlet.ServletException
hudson.model.Descriptor.FormException
protected void performDelete()
throws IOException,
InterruptedException
performDelete in class hudson.model.AbstractProject<IvyModule,IvyBuild>IOException
InterruptedExceptionprotected final List<hudson.tasks.Publisher> createModulePublishers()
Publishers to be used for a build of this project.
public boolean isUseUpstreamParameters()
isUseUpstreamParameters in class AbstractIvyProject<IvyModule,IvyBuild>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||