Class MatingReferenceFilter
- java.lang.Object
-
- hudson.plugins.project_inheritance.projects.references.filters.MatingReferenceFilter
-
- All Implemented Interfaces:
IProjectReferenceFilter
public class MatingReferenceFilter extends Object implements IProjectReferenceFilter
Filters jobs according to whether or not the mating is valid.Do note, that this might very well deny all jobs that come its way.
- Author:
- mhschroe
-
-
Constructor Summary
Constructors Constructor Description MatingReferenceFilter(InheritanceProject ip)
Filters jobs down to those, that the given project can mate with.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isApplicable(InheritanceProject project)
-
-
-
Constructor Detail
-
MatingReferenceFilter
public MatingReferenceFilter(InheritanceProject ip)
Filters jobs down to those, that the given project can mate with.- Parameters:
ip
- the project under reference
-
-
Method Detail
-
isApplicable
public boolean isApplicable(InheritanceProject project)
- Specified by:
isApplicable
in interfaceIProjectReferenceFilter
-
-