Uses of Class
hudson.plugins.project_inheritance.projects.InheritanceProject
-
-
Uses of InheritanceProject in hudson.plugins.project_inheritance.projects
Fields in hudson.plugins.project_inheritance.projects declared as InheritanceProject Modifier and Type Field Description InheritanceProject
InheritanceProject.InheritedVersionInfo. project
Fields in hudson.plugins.project_inheritance.projects with type parameters of type InheritanceProject Modifier and Type Field Description protected static TimedBuffer<InheritanceProject,String>
InheritanceProject. onChangeBuffer
Same asonSelfChangeBuffer
, but this buffer is cleared when any project is changed or loaded anew.protected static TimedBuffer<InheritanceProject,String>
InheritanceProject. onInheritChangeBuffer
This buffer is used for objects that don't need to be repeatedly generated, as long as the configuration of this project or its parents has not changed.protected static TimedBuffer<InheritanceProject,String>
InheritanceProject. onSelfChangeBuffer
Same asonSelfChangeBuffer
, but this buffer is cleared only when the project itself is changed.Methods in hudson.plugins.project_inheritance.projects that return InheritanceProject Modifier and Type Method Description protected InheritanceProject
InheritanceProject.DescriptorImpl. getConfiguredProject()
InheritanceProject
InheritanceProject.DescriptorImpl. getConfiguredProject(org.kohsuke.stapler.StaplerRequest req)
This method identifies the project under configuration.static InheritanceProject
InheritanceProject. getProjectByName(String name)
Simple wrapper aroundJenkins.getItemByFullName(String, Class)
.static InheritanceProject
InheritanceProject. getProjectFromRequest(org.kohsuke.stapler.StaplerRequest req)
InheritanceProject
InheritanceProject.DescriptorImpl. newInstance(ItemGroup parent, String name)
Methods in hudson.plugins.project_inheritance.projects that return types with arguments of type InheritanceProject Modifier and Type Method Description List<JobProperty<? super InheritanceProject>>
InheritanceProject. getAllProperties()
List<JobProperty<? super InheritanceProject>>
InheritanceProject. getAllProperties(InheritanceProject.IMode mode)
Collection<InheritanceProject>
InheritanceProject. getChildrenByBuildDate(Map<InheritanceProject,InheritanceProject.Relationship> relationships)
Returns the children in this relationship map ordered by last build start time, if a last build existsList<InheritanceProject>
InheritanceProject. getChildrenProjects()
List<InheritanceProject>
InheritanceProject. getParentProjects()
Returns the immediate parents of this job in the order they have on the config page.static Map<String,InheritanceProject>
InheritanceProject. getProjectsMap()
Deprecated.Do not use this function anymore, as its caching is somewhat unreliable in certain situations and it might cause deadlocks as it iterates over all items registered in Jenkins.Map<JobPropertyDescriptor,JobProperty<? super InheritanceProject>>
InheritanceProject. getProperties()
Map<JobPropertyDescriptor,JobProperty<? super InheritanceProject>>
InheritanceProject. getProperties(InheritanceProject.IMode mode)
List<JobProperty<? super InheritanceProject>>
InheritanceProject. getRawAllProperties()
This method will fetch all properties defined for the current project and only those defined on it.Map<InheritanceProject,InheritanceProject.Relationship>
InheritanceProject. getRelationships()
Collection<InheritanceProject>
InheritanceProject. getRelationshipsOfType(InheritanceProject.Relationship.Type type)
Methods in hudson.plugins.project_inheritance.projects with parameters of type InheritanceProject Modifier and Type Method Description static void
InheritanceProject. clearBuffers(InheritanceProject root)
static List<InheritanceProject.InheritedVersionInfo>
InheritanceProject. getAllInheritedVersionsList(InheritanceProject root, InheritanceBuild build)
Static part ofgetAllInheritedVersionsList(InheritanceBuild)
.static InheritanceProject.InheritedVersionInfo
InheritanceProject.InheritedVersionInfo. getVersionFrom(InheritanceProject p, Map<String,Long> predefs)
static FilePath
InheritanceBuild. getWorkspacePathFor(Node n, InheritanceProject project, Map<String,String> values)
Method parameters in hudson.plugins.project_inheritance.projects with type arguments of type InheritanceProject Modifier and Type Method Description Collection<InheritanceProject>
InheritanceProject. getChildrenByBuildDate(Map<InheritanceProject,InheritanceProject.Relationship> relationships)
Returns the children in this relationship map ordered by last build start time, if a last build existsConstructors in hudson.plugins.project_inheritance.projects with parameters of type InheritanceProject Constructor Description InheritanceBuild(InheritanceProject project)
InheritanceBuild(InheritanceProject project, File buildDir)
InheritedVersionInfo(InheritanceProject project, Long version, List<Long> versions, String description)
-
Uses of InheritanceProject in hudson.plugins.project_inheritance.projects.actions
Methods in hudson.plugins.project_inheritance.projects.actions that return types with arguments of type InheritanceProject Modifier and Type Method Description List<InheritanceProject>
InheritanceListAction. getChildJobs()
Retrieves the jobs that are the immediate descendants of our job.List<InheritanceProject>
InheritanceListAction. getParentJobs()
Retrieves the jobs that are the immediate parents of our job.Constructors in hudson.plugins.project_inheritance.projects.actions with parameters of type InheritanceProject Constructor Description InheritanceListAction(InheritanceProject project, InheritanceListService service)
-
Uses of InheritanceProject in hudson.plugins.project_inheritance.projects.actions.service
Methods in hudson.plugins.project_inheritance.projects.actions.service that return types with arguments of type InheritanceProject Modifier and Type Method Description List<InheritanceProject>
CachingInheritanceListService. getChildJobs(InheritanceProject myJob)
Retrieves the immediate descents of the given job.List<InheritanceProject>
InheritanceListService. getChildJobs(InheritanceProject job)
Retrieves the immediate descents of the given job.List<InheritanceProject>
CachingInheritanceListService. getParentJobs(InheritanceProject myJob)
Retrieves the immediate parents of the given job.List<InheritanceProject>
InheritanceListService. getParentJobs(InheritanceProject job)
Retrieves the immediate parents of the given job.Methods in hudson.plugins.project_inheritance.projects.actions.service with parameters of type InheritanceProject Modifier and Type Method Description List<InheritanceProject>
CachingInheritanceListService. getChildJobs(InheritanceProject myJob)
Retrieves the immediate descents of the given job.List<InheritanceProject>
InheritanceListService. getChildJobs(InheritanceProject job)
Retrieves the immediate descents of the given job.List<InheritanceProject>
CachingInheritanceListService. getParentJobs(InheritanceProject myJob)
Retrieves the immediate parents of the given job.List<InheritanceProject>
InheritanceListService. getParentJobs(InheritanceProject job)
Retrieves the immediate parents of the given job. -
Uses of InheritanceProject in hudson.plugins.project_inheritance.projects.creation
Methods in hudson.plugins.project_inheritance.projects.creation with parameters of type InheritanceProject Modifier and Type Method Description void
ProjectCreationEngine. notifyProjectChange(InheritanceProject project)
void
ProjectCreationEngine. notifyProjectDelete(InheritanceProject project)
void
ProjectCreationEngine. notifyProjectNew(InheritanceProject project)
-
Uses of InheritanceProject in hudson.plugins.project_inheritance.projects.inheritance
Fields in hudson.plugins.project_inheritance.projects.inheritance declared as InheritanceProject Modifier and Type Field Description InheritanceProject
InheritanceGovernor. caller
Methods in hudson.plugins.project_inheritance.projects.inheritance that return types with arguments of type InheritanceProject Modifier and Type Method Description static List<InheritanceProject>
InheritanceGovernor. getFullScopeOrdered(InheritanceProject root, ProjectReference.PrioComparator.SELECTOR order, Set<String> seen)
Returns the list of parents of a given job (including the given root), ordered according to the given selector.Methods in hudson.plugins.project_inheritance.projects.inheritance with parameters of type InheritanceProject Modifier and Type Method Description List<T>
InheritanceSelector. applyAgainstList(List<T> lst, InheritanceProject caller)
This method scans through the givenList
and filters/merges the elements based on the instructions that the subclass delivers.List<ParameterSelector.ScopeEntry>
ParameterSelector. getAllScopedParameterDefinitions(InheritanceProject root)
Returns all parameter definitions that are involved in generating parameter values.static List<InheritanceProject>
InheritanceGovernor. getFullScopeOrdered(InheritanceProject root, ProjectReference.PrioComparator.SELECTOR order, Set<String> seen)
Returns the list of parents of a given job (including the given root), ordered according to the given selector.abstract T
InheritanceGovernor. getRawField(InheritanceProject ip)
List<ParameterSelector.ScopeEntry>
ParameterSelector. getScopedParameterDefinition(InheritanceProject root, String name)
T
InheritanceGovernor. getVersionedField(InheritanceProject ip, Long version)
abstract T
InheritanceSelector. handleSingleton(T object, InheritanceProject caller)
This function will be called with the final object that was selected to be returned to Jenkins during application of this selector.JobProperty<?>
ParameterSelector. handleSingleton(JobProperty<?> jp, InheritanceProject caller)
This method is triggered, when a singleton is encountered -- either after everything has been merged or there is only a single value left.static boolean
InheritanceGovernor. inheritanceLookupRequired(InheritanceProject root)
static boolean
InheritanceGovernor. inheritanceLookupRequired(InheritanceProject root, boolean forcedInherit)
abstract T
InheritanceSelector. merge(T prior, T latter, InheritanceProject caller)
This function is called whenInheritanceSelector.isApplicableFor(Class)
returned theInheritanceSelector.MODE.MERGE
mode and the two objects have the same ID as returned byInheritanceSelector.getObjectIdentifier(Object)
.JobProperty<?>
ParameterSelector. merge(JobProperty<?> prior, JobProperty<?> latter, InheritanceProject caller)
protected static <R> List<R>
InheritanceGovernor. reduceByMerge(Deque<List<R>> list, Class<?> listType, InheritanceProject caller)
Simple helper function to use a merge as the default reduction.protected static <R> List<R>
InheritanceGovernor. reduceByMergeWithDuplicates(Deque<List<R>> list, Class<?> listType, InheritanceProject caller)
Simple helper function to use a merge as the default reduction.T
InheritanceGovernor. retrieveFullyDerivedField(InheritanceProject root, InheritanceProject.IMode mode)
This method moves through as much of the inheritance tree as is necessary to retrieve the desired field as defined by this class.Constructors in hudson.plugins.project_inheritance.projects.inheritance with parameters of type InheritanceProject Constructor Description InheritanceGovernor(String field, ProjectReference.PrioComparator.SELECTOR order, InheritanceProject caller)
-
Uses of InheritanceProject in hudson.plugins.project_inheritance.projects.parameters
Methods in hudson.plugins.project_inheritance.projects.parameters that return types with arguments of type InheritanceProject Modifier and Type Method Description protected Set<InheritanceProject>
InheritableStringParameterDefinition.DescriptorImpl. getReferencedProjects(InheritanceProject root)
Determines the set of projects referenced from the given project (including the current project).Methods in hudson.plugins.project_inheritance.projects.parameters with parameters of type InheritanceProject Modifier and Type Method Description FormValidation
InheritableStringParameterDefinition.DescriptorImpl. doCheckName(String name, InheritanceProject project)
ListBoxModel
InheritableStringParameterReferenceDefinition.DescriptorImpl. doFillNameItems(String name, InheritanceProject project, String targetJob, String parents)
Fills the name select box, with all parameters from a pool of referenced jobs.String
InheritableStringParameterDefinition. getLocationString(InheritanceProject root)
This method returns the chain of project names that contribute to the final value of the current parameter.InheritableStringParameterDefinition
InheritableStringParameterReferenceDefinition. getParent(InheritanceProject root)
This method returns theInheritableStringParameterDefinition
that is the parent of this reference, but is not a reference itself.protected Set<InheritanceProject>
InheritableStringParameterDefinition.DescriptorImpl. getReferencedProjects(InheritanceProject root)
Determines the set of projects referenced from the given project (including the current project). -
Uses of InheritanceProject in hudson.plugins.project_inheritance.projects.rebuild
Methods in hudson.plugins.project_inheritance.projects.rebuild that return InheritanceProject Modifier and Type Method Description InheritanceProject
InheritanceRebuildAction. getProject()
Returns theInheritanceProject
associated with the currentStaplerRequest
.InheritanceProject
InheritanceRebuildAction. getProject(org.kohsuke.stapler.StaplerRequest request)
This method returns theInheritanceProject
associated with the given request; if any are. -
Uses of InheritanceProject in hudson.plugins.project_inheritance.projects.references
Methods in hudson.plugins.project_inheritance.projects.references that return InheritanceProject Modifier and Type Method Description InheritanceProject
AbstractProjectReference. getProject()
Returns the project associated with this reference.Methods in hudson.plugins.project_inheritance.projects.references with parameters of type InheritanceProject Modifier and Type Method Description FormValidation
AbstractProjectReference.ProjectReferenceDescriptor. doCheckName(String targetJob, String parents, InheritanceProject localJob)
Checks whether the "name" field is sensible.void
AbstractProjectReference. switchProject(InheritanceProject project)
-
Uses of InheritanceProject in hudson.plugins.project_inheritance.projects.references.filters
Methods in hudson.plugins.project_inheritance.projects.references.filters with parameters of type InheritanceProject Modifier and Type Method Description boolean
ExecutabilityFilter. isApplicable(InheritanceProject project)
boolean
IProjectReferenceFilter. isApplicable(InheritanceProject project)
boolean
MatingReferenceFilter. isApplicable(InheritanceProject project)
boolean
TransienceFilter. isApplicable(InheritanceProject project)
Constructors in hudson.plugins.project_inheritance.projects.references.filters with parameters of type InheritanceProject Constructor Description MatingReferenceFilter(InheritanceProject ip)
Filters jobs down to those, that the given project can mate with. -
Uses of InheritanceProject in hudson.plugins.project_inheritance.projects.versioning
Methods in hudson.plugins.project_inheritance.projects.versioning that return InheritanceProject Modifier and Type Method Description static InheritanceProject
VersionHandler. resolve(String name)
Wrapper aroundgetProjectByName(String)
Methods in hudson.plugins.project_inheritance.projects.versioning that return types with arguments of type InheritanceProject Modifier and Type Method Description static Map<InheritanceProject,Long>
VersionHandler. resolve(Map<String,Long> in)
Methods in hudson.plugins.project_inheritance.projects.versioning with parameters of type InheritanceProject Modifier and Type Method Description static String
VersionHandler. encodeUrlParameter(InheritanceProject root)
static Long
VersionHandler. getVersion(InheritanceProject root)
-
Uses of InheritanceProject in hudson.plugins.project_inheritance.projects.view
Methods in hudson.plugins.project_inheritance.projects.view that return InheritanceProject Modifier and Type Method Description InheritanceProject
BuildFlowScriptAction. getProject(org.kohsuke.stapler.StaplerRequest request)
This method returns theInheritanceProject
associated with the given request; if any are.Methods in hudson.plugins.project_inheritance.projects.view with parameters of type InheritanceProject Modifier and Type Method Description static Map<String,String>
BuildFlowScriptAction. getResolvedBuildParameters(InheritanceProject project)
-
Uses of InheritanceProject in hudson.plugins.project_inheritance.views
Methods in hudson.plugins.project_inheritance.views with parameters of type InheritanceProject Modifier and Type Method Description protected boolean
RelatedProjectView. filterApplies(InheritanceProject ip)
-
Uses of InheritanceProject in hudson.plugins.project_inheritance.widgets
Constructor parameters in hudson.plugins.project_inheritance.widgets with type arguments of type InheritanceProject Constructor Description ExtendedBuildHistoryWidget(Queue.Task owner, Iterable<InheritanceProject> baseList, HistoryWidget.Adapter<? super InheritanceProject> adapter)
ExtendedBuildHistoryWidget(Queue.Task owner, Iterable<InheritanceProject> baseList, HistoryWidget.Adapter<? super InheritanceProject> adapter)
-