Package hudson.maven
Class MavenModuleSet
- All Implemented Interfaces:
ExtensionPoint,BuildableItem,BuildableItemWithBuildWrappers,Describable<TopLevelItem>,DescriptorByNameOwner,Item,ItemGroup<MavenModule>,ModelObject,PersistenceRoot,SubTask,Queue.Task,ResourceActivity,Saveable,SCMedItem,TopLevelItem,SearchableModelObject,SearchItem,AccessControlled,Maven.ProjectWithMaven,LazyBuildMixIn.LazyLoadingJob<MavenModuleSet,,MavenModuleSetBuild> Loadable,ModelObjectWithChildren,ModelObjectWithContextMenu,ParameterizedJobMixIn.ParameterizedJob<MavenModuleSet,,MavenModuleSetBuild> TriggeredItem,OnMaster,HasWidgets,org.kohsuke.stapler.HttpDeletable,org.kohsuke.stapler.StaplerOverridable,org.kohsuke.stapler.StaplerProxy
public class MavenModuleSet
extends AbstractMavenProject<MavenModuleSet,MavenModuleSetBuild>
implements TopLevelItem, ItemGroup<MavenModule>, SCMedItem, Saveable, BuildableItemWithBuildWrappers
Group of
MavenModules.
This corresponds to the group of Maven POMs that constitute a single tree of projects. This group serves as the grouping of those related modules.
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.maven.AbstractMavenProject
AbstractMavenProject.MavenModuleDependencyNested classes/interfaces inherited from class hudson.model.AbstractProject
AbstractProject.AbstractProjectDescriptor, AbstractProject.BecauseOfBuildInProgress, AbstractProject.BecauseOfDownstreamBuildInProgress, AbstractProject.BecauseOfUpstreamBuildInProgress, AbstractProject.LabelValidatorNested classes/interfaces inherited from class hudson.model.Job
Job.LastItemListener, Job.SubItemBuildsLocationImplNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface org.kohsuke.stapler.HttpDeletable
org.kohsuke.stapler.HttpDeletable.HttpDeletableDispatcherNested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem, ModelObjectWithContextMenu.MenuItemType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MavenModuleSet.DescriptorImplDescriptor is instantiated as a field purely for backward compatibility.protected StringDeprecated.Fields inherited from class hudson.model.AbstractProject
ABORT, blockBuildWhenDownstreamBuilding, blockBuildWhenUpstreamBuilding, BUILD_NOW_TEXT, builds, disabled, transientActions, triggersFields inherited from class hudson.model.Job
HISTORY_ADAPTER, nextBuildNumber, properties, runIdMigratorFields inherited from class hudson.model.AbstractItem
description, displayName, name, PRONOUN, SKIP_PERMISSION_CHECK, TASK_NOUN -
Constructor Summary
ConstructorsConstructorDescriptionMavenModuleSet(ItemGroup parent, String name) MavenModuleSet(String name) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddTransientActionsFromBuild(MavenModuleSetBuild build, List<Action> collection, Set<Class> added) AbstractProject<?,?> intTo make it easy to grasp relationship among modules and the module set, we'll align the build numbers of all the modules.protected voiddoCheckFileInWorkspace(String value) Check the location of the POM, alternate settings file, etc - any file.doChildrenContextMenu(org.kohsuke.stapler.StaplerRequest2 request, org.kohsuke.stapler.StaplerResponse2 response) org.kohsuke.stapler.HttpResponseDelete all disabled modules.Deprecated.as of 1.481Returns theMavenModules that are in the queue.booleanprotected Class<MavenModuleSetBuild>Deprecated.as of 1.335 UsegetBuildWrappersList()to be consistent with other subtypes ofAbstractProject.getDisabledModules(boolean disabled) Possibly empty list of all disabled modules (if disabled==true) or all enabeld modules (if disabled==false)getDynamic(String token, org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) protected List<MavenModuleSetBuild>Undefaulted locally configured value with taking inheritance from the global configuration into account.getGoals()Gets the list of goals to execute.getItems()getMaven()Gets the Maven to invoke.Possibly null, whitespace-separated (including TAB, NL, etc) VM options to be used to launch Maven process.Gets the system properties explicitly set in the Maven command line (the "-D" option.)intBuilders that are run after the main Maven execution.Builders that are run before the main Maven execution.If the list of configured goals contain the "-P" option, return the configured profiles.List of activePublishers.Returns theMavenModules that are in the queue.List of activeMavenReporters that should be applied to all module builds.protected Set<ResourceActivity>getRootDirFor(MavenModule child) Deprecated.for backward comp onlygetRootPOM(EnvVars env) Gets the location of top-levelpom.xmlrelative to the workspace root.postbuildersare run if the result is better or equal to this threshold.hudson.tasks.test.AbstractTestResultAction<?>Gets the list of goals specified by the user, without taking inheritance and POM default goals into account.booleanReturns true if there's any disabled module.booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanCheck for "-N" or "--non-recursive" in the Maven goals/options.booleanDeprecated.booleanbooleanbooleanvoidprotected SearchIndexBuildervoidonDeleted(MavenModule item) voidvoidonRenamed(MavenModule item, String oldName, String newName) booleanvoidsetAggregatorStyleBuild(boolean aggregatorStyleBuild) voidsetAlternateSettings(String alternateSettings) Deprecated.as of 1.481voidsetBlockTriggerWhenBuilding(boolean blockTriggerWhenBuilding) voidsetDisableTriggerDownstreamProjects(boolean disableTriggerDownstreamProjects) voidsetGlobalSettings(GlobalSettingsProvider globalSettings) voidvoidsetIgnoreUnsuccessfulUpstreams(boolean ignoreUnsuccessfulUpstreams) voidsetIgnoreUpstremChanges(boolean ignoreUpstremChanges) voidsetIncrementalBuild(boolean incrementalBuild) voidsetIsArchivingDisabled(boolean archivingDisabled) voidsetIsFingerprintingDisabled(boolean fingerprintingDisabled) voidsetIsSiteArchivingDisabled(boolean siteArchivingDisabled) voidsetLocalRepository(LocalRepositoryLocator localRepository) voidvoidsetMavenOpts(String mavenOpts) Set mavenOpts.voidsetProcessPlugins(boolean processPlugins) voidsetResolveDependencies(boolean resolveDependencies) voidsetRootPOM(String rootPOM) voidsetRunHeadless(boolean runHeadless) voidvoidsetSettings(SettingsProvider settings) voidsetUsePrivateRepository(boolean usePrivateRepository) Deprecated.as of 1.448.protected voidsubmit(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) protected voidbooleanDeprecated.as of 1.448 UsegetLocalRepository()Methods inherited from class hudson.maven.AbstractMavenProject
scheduleBuild, scheduleBuild, scheduleBuild, scheduleBuildMethods inherited from class hudson.model.AbstractProject
_getRuns, addProperty, addToList, addTrigger, blockBuildWhenDownstreamBuilding, blockBuildWhenUpstreamBuilding, buildDescribable, buildDescribable, checkAbortPermission, checkout, createExecutable, disable, doBuild, doBuildWithParameters, doCheckRetryCount, doConfigSubmit, doDoWipeOutWorkspace, doPolling, doWs, enable, findNearest, findNearest, getActions, getAssignedLabel, getAssignedLabelString, getAuthToken, getBuild, getBuildByNumber, getBuildingDownstream, getBuildingUpstream, getBuildNowText, getBuildTriggerUpstreamProjects, getCauseOfBlockage, getCustomWorkspace, getDelay, getDownstreamProjects, getDownstreamProjectsForApi, getEnvironment, getFirstBuild, getHasCustomQuietPeriod, getIconColor, getJDK, getLastBuild, getLastBuiltOn, getLazyBuildMixIn, getModuleRoot, getModuleRoots, getNearestBuild, getNearestOldBuild, getProminentActions, getQueueItem, getQuietPeriod, getRelationship, getRelevantLabels, getResourceList, getRootProject, getSameNodeConstraint, getScm, getScmCheckoutRetryCount, getScmCheckoutStrategy, getSomeBuildWithWorkspace, getSomeWorkspace, getSubTasks, getTransitiveDownstreamProjects, getTransitiveUpstreamProjects, getTrigger, getTriggers, getUpstreamProjects, getUpstreamProjectsForApi, getWorkspace, getWorkspaceResource, hasAbortPermission, hasCustomScmCheckoutRetryCount, hasParticipant, isBuildable, isConcurrentBuild, isConfigurable, isDisabled, isInQueue, loadBuild, newBuild, onCreatedFromScratch, performDelete, poll, pollSCMChanges, removeFromList, removeRun, removeTrigger, resolveForCLI, save, scheduleBuild, scheduleBuild2, scheduleBuild2, scheduleBuild2, scheduleBuild2, scheduleBuild2, schedulePolling, setAssignedLabel, setAssignedNode, setBlockBuildWhenDownstreamBuilding, setBlockBuildWhenUpstreamBuilding, setConcurrentBuild, setCustomWorkspace, setDisabled, setJDK, setQuietPeriod, setScm, setScmCheckoutStrategy, submit, supportsMakeDisabled, triggersMethods inherited from class hudson.model.Job
checkRename, createHistoryWidget, delete, doBuildStatus, doChildrenContextMenu, doDescription, doDoRename, doRssAll, doRssChangelog, doRssFailed, fastUpdateNextBuildNumber, getACL, getAllProperties, getBuildDir, getBuildDiscarder, getBuildForCLI, getBuildHealth, getBuildHealthReports, getBuilds, getBuilds, getBuildsAsMap, getBuildsByTimestamp, getBuildStatusIconClassName, getBuildStatusUrl, getBuildTimeGraph, getCharacteristicEnvVars, getDynamic, getEstimatedDuration, getLastBuildsOverThreshold, getLastCompletedBuild, getLastFailedBuild, getLastStableBuild, getLastSuccessfulBuild, getLastUnstableBuild, getLastUnsuccessfulBuild, getLogRotator, getNewBuilds, getNextBuildNumber, getOverrides, getPermalinks, getProperties, getProperty, getProperty, getTimeline, isBuilding, isHoldOffBuildUntilSave, isKeepDependencies, isLogUpdated, isNameEditable, movedTo, onCopiedFrom, removeProperty, removeProperty, renameTo, saveNextBuildNumber, setBuildDiscarder, setLogRotator, supportsLogRotator, updateNextBuildNumberMethods inherited from class hudson.model.AbstractItem
delete, delete, doCheckNewName, doConfigDotXml, doConfigDotXml, doConfirmRename, doDoDelete, doDoDelete, doReload, doSetName, doSubmitDescription, doSubmitDescription, getAbsoluteUrl, getApi, getConfigFile, getDescription, getDisplayName, getDisplayNameOrNull, getFullDisplayName, getFullName, getName, getParent, getRelativeDisplayNameFrom, getRelativeNameFromGroup, getRootDir, getSearchName, getSearchUrl, getShortUrl, getTarget, getTaskNoun, getUrl, load, setDescription, setDisplayName, setDisplayNameOrNull, toString, updateByXml, updateByXml, writeConfigDotXml, writeReplaceMethods inherited from class hudson.model.Actionable
addAction, addOrReplaceAction, doContextMenu, doContextMenu, getAction, getAction, getActions, getAllActions, removeAction, removeActions, replaceAction, replaceActionsMethods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendErrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface hudson.security.AccessControlled
checkAnyPermission, checkPermission, getACL, hasAnyPermission, hasPermission, hasPermission, hasPermission2Methods inherited from interface hudson.model.BuildableItem
scheduleBuild, scheduleBuildMethods inherited from interface hudson.model.DescriptorByNameOwner
getDescriptorByNameMethods inherited from interface jenkins.widgets.HasWidgets
getWidget, getWidgetsMethods inherited from interface hudson.model.Item
delete, getAbsoluteUrl, getDisplayName, getFullDisplayName, getFullName, getName, getParent, getRelativeNameFrom, getRelativeNameFrom, getShortUrl, getUrl, onCopiedFrom, onCreatedFromScratch, saveMethods inherited from interface hudson.model.ItemGroup
allItems, allItems, allItems, getAllItems, getAllItems, getAllItems, getFullDisplayName, getFullName, getItemName, getItems, getItemsStream, getItemsStream, getUrlMethods inherited from interface jenkins.model.ParameterizedJobMixIn.ParameterizedJob
doBuild, doBuild, doBuildWithParameters, doBuildWithParameters, doCancelQueue, doDisable, doEnable, getParameterizedJobMixIn, isParameterized, makeDisabledMethods inherited from interface hudson.model.PersistenceRoot
getRootDirMethods inherited from interface hudson.model.Queue.Task
checkAbortPermission, getAffinityKey, getCauseOfBlockage, getDefaultAuthentication, getDefaultAuthentication, getDefaultAuthentication2, getDefaultAuthentication2, getFullDisplayName, getName, getSubTasks, getUrl, getWhyBlocked, hasAbortPermission, isBuildBlocked, isConcurrentBuildMethods inherited from interface hudson.model.ResourceActivity
getDisplayName, getResourceListMethods inherited from interface hudson.model.SCMedItem
getScm, poll, pollSCMChangesMethods inherited from interface hudson.search.SearchableModelObject
getSearchMethods inherited from interface hudson.search.SearchItem
getSearchIndex, getSearchName, getSearchUrlMethods inherited from interface hudson.model.queue.SubTask
getAssignedLabel, getEstimatedDuration, getLastBuiltOn, getOwnerExecutable, getOwnerTask, getSameNodeConstraint
-
Field Details
-
globalSettingConfigPath
Deprecated.since 1.484 settings are provided byglobalSettingsused temporary during maven build to store file path- Since:
- 1.426
-
DESCRIPTOR
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @Extension(ordinal=900.0) public static final MavenModuleSet.DescriptorImpl DESCRIPTORDescriptor is instantiated as a field purely for backward compatibility. Do not do this in your code. Put @Extension on your DescriptorImpl class instead.
-
-
Constructor Details
-
MavenModuleSet
Deprecated. -
MavenModuleSet
-
-
Method Details
-
readResolve
- Since:
- 1.491
-
getPrebuilders
Builders that are run before the main Maven execution.- Since:
- 1.433
-
getPostbuilders
Builders that are run after the main Maven execution.- Since:
- 1.433
-
getRunPostStepsIfResult
postbuildersare run if the result is better or equal to this threshold.- Returns:
- never null
- Since:
- 1.433
-
setRunPostStepsIfResult
-
getUrlChildPrefix
- Specified by:
getUrlChildPrefixin interfaceItemGroup<MavenModule>
-
getItems
- Specified by:
getItemsin interfaceItemGroup<MavenModule>
-
getModules
-
getItem
- Specified by:
getItemin interfaceItemGroup<MavenModule>
-
getModule
-
getPronoun
- Overrides:
getPronounin classAbstractProject<MavenModuleSet,MavenModuleSetBuild>
-
updateTransientActions
protected void updateTransientActions()- Overrides:
updateTransientActionsin classAbstractProject<MavenModuleSet,MavenModuleSetBuild>
-
createTransientActions
- Overrides:
createTransientActionsin classAbstractMavenProject<MavenModuleSet,MavenModuleSetBuild>
-
addTransientActionsFromBuild
protected void addTransientActionsFromBuild(MavenModuleSetBuild build, List<Action> collection, Set<Class> added) - Specified by:
addTransientActionsFromBuildin classAbstractMavenProject<MavenModuleSet,MavenModuleSetBuild> collection- Add the transient actions to this collection.
-
hasDisabledModule
public boolean hasDisabledModule()Returns true if there's any disabled module. -
getDisabledModules
Possibly empty list of all disabled modules (if disabled==true) or all enabeld modules (if disabled==false) -
createIndenter
-
isIncrementalBuild
public boolean isIncrementalBuild() -
isAggregatorStyleBuild
public boolean isAggregatorStyleBuild() -
usesPrivateRepository
public boolean usesPrivateRepository()Deprecated.as of 1.448 UsegetLocalRepository() -
isPerModuleEmail
Deprecated. -
ignoreUpstremChanges
public boolean ignoreUpstremChanges() -
ignoreUnsuccessfulUpstreams
public boolean ignoreUnsuccessfulUpstreams() -
runHeadless
public boolean runHeadless() -
isArchivingDisabled
public boolean isArchivingDisabled() -
isSiteArchivingDisabled
public boolean isSiteArchivingDisabled() -
isFingerprintingDisabled
public boolean isFingerprintingDisabled() -
setIncrementalBuild
public void setIncrementalBuild(boolean incrementalBuild) -
setAggregatorStyleBuild
public void setAggregatorStyleBuild(boolean aggregatorStyleBuild) -
setUsePrivateRepository
public void setUsePrivateRepository(boolean usePrivateRepository) Deprecated.as of 1.448. UsesetLocalRepository(LocalRepositoryLocator)instead -
getLocalRepository
- Returns:
- never null
-
getExplicitLocalRepository
Undefaulted locally configured value with taking inheritance from the global configuration into account. -
setLocalRepository
-
setSettings
- Since:
- 1.491
-
setGlobalSettings
- Since:
- 1.491
-
setIgnoreUpstremChanges
public void setIgnoreUpstremChanges(boolean ignoreUpstremChanges) -
setIgnoreUnsuccessfulUpstreams
public void setIgnoreUnsuccessfulUpstreams(boolean ignoreUnsuccessfulUpstreams) -
setRunHeadless
public void setRunHeadless(boolean runHeadless) -
setIsArchivingDisabled
public void setIsArchivingDisabled(boolean archivingDisabled) -
setIsSiteArchivingDisabled
public void setIsSiteArchivingDisabled(boolean siteArchivingDisabled) -
setIsFingerprintingDisabled
public void setIsFingerprintingDisabled(boolean fingerprintingDisabled) -
isResolveDependencies
public boolean isResolveDependencies() -
setResolveDependencies
public void setResolveDependencies(boolean resolveDependencies) -
isProcessPlugins
public boolean isProcessPlugins() -
setProcessPlugins
public void setProcessPlugins(boolean processPlugins) -
getMavenValidationLevel
public int getMavenValidationLevel() -
getSettings
- Since:
- 1.481
-
getGlobalSettings
- Since:
- 1.481
-
getReporters
List of activeMavenReporters that should be applied to all module builds. -
getPublishers
List of activePublishers. Can be empty but never null. -
getPublishersList
- Specified by:
getPublishersListin classAbstractProject<MavenModuleSet,MavenModuleSetBuild>
-
getBuildWrappersList
- Specified by:
getBuildWrappersListin interfaceBuildableItemWithBuildWrappers
-
getBuildWrappers
Deprecated.as of 1.335 UsegetBuildWrappersList()to be consistent with other subtypes ofAbstractProject.List of activeBuildWrappers. Can be empty but never null. -
getDynamic
public Object getDynamic(String token, org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) - Overrides:
getDynamicin classJob<MavenModuleSet,MavenModuleSetBuild>
-
getRootDirFor
- Specified by:
getRootDirForin interfaceItemGroup<MavenModule>
-
onRenamed
- Specified by:
onRenamedin interfaceItemGroup<MavenModule>- Throws:
IOException
-
onDeleted
- Specified by:
onDeletedin interfaceItemGroup<MavenModule>- Throws:
IOException
-
getAllJobs
- Specified by:
getAllJobsin interfaceItem- Overrides:
getAllJobsin classJob<MavenModuleSet,MavenModuleSetBuild>
-
getBuildClass
- Specified by:
getBuildClassin classAbstractProject<MavenModuleSet,MavenModuleSetBuild>
-
makeSearchIndex
- Overrides:
makeSearchIndexin classAbstractProject<MavenModuleSet,MavenModuleSetBuild>
-
isFingerprintConfigured
public boolean isFingerprintConfigured()- Specified by:
isFingerprintConfiguredin classAbstractProject<MavenModuleSet,MavenModuleSetBuild>
-
onLoad
- Specified by:
onLoadin interfaceItem- Overrides:
onLoadin classAbstractProject<MavenModuleSet,MavenModuleSetBuild> - Throws:
IOException
-
assignBuildNumber
To make it easy to grasp relationship among modules and the module set, we'll align the build numbers of all the modules.This method is invoked from
Executor.run(), and because of the mutual exclusion amongMavenModuleSetBuildandMavenBuild, we can safely touch all the modules.- Overrides:
assignBuildNumberin classJob<MavenModuleSet,MavenModuleSetBuild> - Throws:
IOException
-
logRotate
- Overrides:
logRotatein classJob<MavenModuleSet,MavenModuleSetBuild> - Throws:
IOExceptionInterruptedException
-
buildDependencyGraph
- Overrides:
buildDependencyGraphin classAbstractProject<MavenModuleSet,MavenModuleSetBuild>
-
isDisableTriggerDownstreamProjects
public boolean isDisableTriggerDownstreamProjects() -
setDisableTriggerDownstreamProjects
public void setDisableTriggerDownstreamProjects(boolean disableTriggerDownstreamProjects) -
getBlockTriggerWhenBuilding
public boolean getBlockTriggerWhenBuilding() -
setBlockTriggerWhenBuilding
public void setBlockTriggerWhenBuilding(boolean blockTriggerWhenBuilding) -
getRootModule
-
inferMavenInstallation
- Specified by:
inferMavenInstallationin interfaceMaven.ProjectWithMaven
-
getResourceActivities
- Overrides:
getResourceActivitiesin classAbstractProject<MavenModuleSet,MavenModuleSetBuild>
-
getRootPOM
Deprecated.for backward comp only -
getRootPOM
Gets the location of top-levelpom.xmlrelative to the workspace root.- Since:
- 1.467
-
setRootPOM
-
asProject
- Specified by:
asProjectin interfaceBuildableItemWithBuildWrappers- Specified by:
asProjectin interfaceSCMedItem
-
getGoals
Gets the list of goals to execute. -
setGoals
-
getAlternateSettings
Deprecated.as of 1.481Gets the workspace-relative path to an alternative Maven settings.xml file. -
setAlternateSettings
Deprecated.as of 1.481Sets the workspace-relative path to an alternative Maven settings.xml file.- Throws:
IOException
-
getProfiles
If the list of configured goals contain the "-P" option, return the configured profiles. Otherwise null. -
getMavenProperties
Gets the system properties explicitly set in the Maven command line (the "-D" option.) -
isNonRecursive
public boolean isNonRecursive()Check for "-N" or "--non-recursive" in the Maven goals/options. -
getMavenOpts
Possibly null, whitespace-separated (including TAB, NL, etc) VM options to be used to launch Maven process. If mavenOpts is null or empty, we'll return the globally-defined MAVEN_OPTS.This method returns a configured value as-is, which can include variabl references. At runtime, use
AbstractMavenBuild.getMavenOpts(TaskListener, EnvVars)to obtain a fully resolved value. -
setMavenOpts
Set mavenOpts. If the new mavenOpts are equals to the global mavenOpts, job mavenOpts are set to null. -
getMaven
Gets the Maven to invoke. If null, we pick any random Maven installation. -
setMaven
-
getQueueItems
Returns theMavenModules that are in the queue. -
getApproximateQueueItemsQuickly
Returns theMavenModules that are in the queue. -
getUserConfiguredGoals
Gets the list of goals specified by the user, without taking inheritance and POM default goals into account.This is only used to present the UI screen, and in all the other cases
getGoals()should be used. -
getEstimatedDurationCandidates
- Overrides:
getEstimatedDurationCandidatesin classAbstractProject<MavenModuleSet,MavenModuleSetBuild>
-
submit
protected void submit(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException, jakarta.servlet.ServletException, Descriptor.FormException - Overrides:
submitin classAbstractProject<MavenModuleSet,MavenModuleSetBuild> - Throws:
IOExceptionjakarta.servlet.ServletExceptionDescriptor.FormException
-
doDoDeleteAllDisabledModules
public org.kohsuke.stapler.HttpResponse doDoDeleteAllDisabledModules() throws IOException, InterruptedExceptionDelete all disabled modules.- Throws:
IOExceptionInterruptedException
-
getTestResultAction
public hudson.tasks.test.AbstractTestResultAction<?> getTestResultAction() -
doCheckFileInWorkspace
public FormValidation doCheckFileInWorkspace(@QueryParameter String value) throws IOException, jakarta.servlet.ServletException Check the location of the POM, alternate settings file, etc - any file.- Throws:
IOExceptionjakarta.servlet.ServletException
-
doChildrenContextMenu
public ModelObjectWithContextMenu.ContextMenu doChildrenContextMenu(org.kohsuke.stapler.StaplerRequest2 request, org.kohsuke.stapler.StaplerResponse2 response) throws Exception - Specified by:
doChildrenContextMenuin interfaceModelObjectWithChildren- Overrides:
doChildrenContextMenuin classJob<MavenModuleSet,MavenModuleSetBuild> - Throws:
Exception
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<TopLevelItem>- Specified by:
getDescriptorin interfaceTopLevelItem
-
globalSettings