|
||||||||||
| 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 |
|---|
| 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 |
|---|
| 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.Saveable |
|---|
NOOP |
| Fields inherited from interface hudson.model.Item |
|---|
BUILD, CONFIGURE, CREATE, DELETE, EXTENDED_READ, PERMISSIONS, READ, WORKSPACE |
| Method Summary | |
|---|---|
protected void |
addTransientActionsFromBuild(IvyBuild build,
java.util.Set<java.lang.Class> added)
|
ModuleDependency |
asDependency()
Gets organisation+name+revision as ModuleDependency. |
protected void |
buildDependencyGraph(hudson.model.DependencyGraph graph)
|
protected java.util.List<hudson.tasks.Publisher> |
createModulePublishers()
Creates a list of Publishers to be used for a build of this project. |
protected void |
doSetName(java.lang.String name)
|
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 java.lang.Class<IvyBuild> |
getBuildClass()
|
java.lang.String |
getDisplayName()
|
java.lang.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()
|
java.lang.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()
|
java.lang.String |
getRelativePath()
Relative path to this module's root directory from the workspace of a IvyModuleSet. |
java.lang.String |
getRelativePathToDescriptorFromModuleRoot()
|
java.lang.String |
getRelativePathToModuleRoot()
|
java.lang.String |
getRevision()
Gets the revision number in the ivy.xml file as of the last build. |
java.lang.String |
getShortUrl()
|
java.lang.String |
getTargets()
Gets the list of targets to execute for this module. |
java.lang.String |
getUserConfiguredRelativePathToDescriptorFromModuleRoot()
|
hudson.model.Resource |
getWorkspaceResource()
Deprecated. as of 1.319 in AbstractProject. |
boolean |
isBuildable()
|
boolean |
isFingerprintConfigured()
|
boolean |
isNameEditable()
|
protected IvyBuild |
newBuild()
|
void |
onLoad(hudson.model.ItemGroup<? extends hudson.model.Item> parent,
java.lang.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()
|
| Methods inherited from class hudson.ivy.AbstractIvyProject |
|---|
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, getAuthToken, getBuildingUpstream, getBuildTriggerUpstreamProjects, getCauseOfBlockage, getDelay, getDownstreamProjects, getEstimatedDuration, getHasCustomQuietPeriod, getIconColor, getLastBuiltOn, getModuleRoot, getModuleRoots, getProminentActions, getQueueItem, getQuietPeriod, getRelationship, getResourceActivities, getResourceList, getRootProject, getScm, getScmCheckoutRetryCount, getSomeBuildWithWorkspace, getSomeWorkspace, getTransitiveDownstreamProjects, getTransitiveUpstreamProjects, getTrigger, getTriggers, getUpstreamProjects, getWhyBlocked, getWorkspace, hasAbortPermission, hasCustomScmCheckoutRetryCount, hasParticipant, isBuildBlocked, isConcurrentBuild, isConfigurable, isDisabled, isInQueue, isParameterized, loadBuild, makeDisabled, makeSearchIndex, poll, pollSCMChanges, removeFromList, removeRun, removeTrigger, resolveForCLI, scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuild2, scheduleBuild2, scheduleBuild2, schedulePolling, setAssignedLabel, setAssignedNode, setBlockBuildWhenUpstreamBuilding, setConcurrentBuild, setJDK, setQuietPeriod, setScm |
| Methods inherited from class hudson.model.Job |
|---|
assignBuildNumber, doBuildStatus, doConfigDotXml, doDescription, doDoRename, doRssAll, doRssFailed, doTimelineData, getACL, getAllJobs, getAllProperties, getBuild, getBuildByNumber, getBuildDir, getBuildForCLI, getBuildHealth, getBuildHealthReports, getBuilds, getBuilds, getBuildsAsMap, getBuildsByTimestamp, getBuildStatusUrl, getBuildTimeGraph, getDynamic, getFirstBuild, getLastBuild, getLastCompletedBuild, getLastFailedBuild, getLastStableBuild, getLastSuccessfulBuild, getNearestBuild, getNearestOldBuild, getNextBuildNumber, getPermalinks, getProperties, getProperty, getWidgets, isBuilding, isKeepDependencies, logRotate, onCopiedFrom, removeProperty, removeProperty, renameTo, saveNextBuildNumber, updateNextBuildNumber |
| Methods inherited from class hudson.model.AbstractItem |
|---|
checkPermission, delete, delete, doDoDelete, doSubmitDescription, getAbsoluteUrl, getApi, getConfigFile, getDescription, getDescriptorByName, getFullDisplayName, getFullName, getName, getRootDir, getSearchUrl, getUrl, hasPermission, 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.Saveable |
|---|
save |
| 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 |
| Methods inherited from interface hudson.model.Queue.Task |
|---|
getFullDisplayName, getName, getUrl |
| Method Detail |
|---|
public hudson.tasks.LogRotator getLogRotator()
IvyModule follows the same log rotation schedule as its parent.
getLogRotator in class hudson.model.Job<IvyModule,IvyBuild>@Deprecated public void setLogRotator(hudson.tasks.LogRotator logRotator)
setLogRotator in class hudson.model.Job<IvyModule,IvyBuild>public boolean supportsLogRotator()
supportsLogRotator in class hudson.model.Job<IvyModule,IvyBuild>public boolean isBuildable()
isBuildable in class hudson.model.AbstractProject<IvyModule,IvyBuild>protected void doSetName(java.lang.String name)
doSetName in class hudson.model.AbstractItem
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<IvyModule,IvyBuild>java.io.IOExceptionpublic java.lang.String getRelativePath()
IvyModuleSet.
The path separator is normalized to '/'.
public java.lang.String getRevision()
public java.lang.String getIvyBranch()
public java.lang.String getTargets()
public java.lang.String getRelativePathToDescriptorFromModuleRoot()
public java.lang.String getUserConfiguredRelativePathToDescriptorFromModuleRoot()
public java.lang.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 class hudson.model.AbstractProject<IvyModule,IvyBuild>protected java.lang.Class<IvyBuild> getBuildClass()
getBuildClass in class hudson.model.AbstractProject<IvyModule,IvyBuild>
protected IvyBuild newBuild()
throws java.io.IOException
newBuild in class hudson.model.AbstractProject<IvyModule,IvyBuild>java.io.IOExceptionpublic ModuleName getModuleName()
public ModuleDependency asDependency()
ModuleDependency.
public java.lang.String getShortUrl()
getShortUrl in interface hudson.model.ItemgetShortUrl in class hudson.model.AbstractItem@Exported(visibility=2) public java.lang.String getDisplayName()
getDisplayName in interface hudson.model.ItemgetDisplayName in interface hudson.model.ModelObjectgetDisplayName in interface hudson.model.ResourceActivitygetDisplayName in class hudson.model.AbstractItempublic java.lang.String getPronoun()
getPronoun in class hudson.model.AbstractProject<IvyModule,IvyBuild>public boolean isNameEditable()
isNameEditable 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.TaskgetAssignedLabel 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 buildDependencyGraph(hudson.model.DependencyGraph graph)
buildDependencyGraph in class hudson.model.AbstractProject<IvyModule,IvyBuild>
protected void addTransientActionsFromBuild(IvyBuild build,
java.util.Set<java.lang.Class> added)
addTransientActionsFromBuild in class AbstractIvyProject<IvyModule,IvyBuild>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 java.io.IOException,
javax.servlet.ServletException,
hudson.model.Descriptor.FormException
submit in class hudson.model.AbstractProject<IvyModule,IvyBuild>java.io.IOException
javax.servlet.ServletException
hudson.model.Descriptor.FormException
protected void performDelete()
throws java.io.IOException,
java.lang.InterruptedException
performDelete in class hudson.model.AbstractProject<IvyModule,IvyBuild>java.io.IOException
java.lang.InterruptedExceptionprotected final java.util.List<hudson.tasks.Publisher> createModulePublishers()
Publishers to be used for a build of this project.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||