Class ClassMatcher
- java.lang.Object
-
- io.gitlab.plunts.gradle.plantuml.plugin.matcher.AbstractClasspathMatcher
-
- io.gitlab.plunts.gradle.plantuml.plugin.matcher.AbstractNameMatcher
-
- io.gitlab.plunts.gradle.plantuml.plugin.matcher.AbstractModifierMatcher
-
- io.gitlab.plunts.gradle.plantuml.plugin.matcher.AbstractAnnotationMatcher
-
- io.gitlab.plunts.gradle.plantuml.plugin.matcher.ClassMatcher
-
- All Implemented Interfaces:
BaselineMatcher,java.io.Serializable,java.util.function.Predicate<io.github.classgraph.ClassInfo>
public class ClassMatcher extends AbstractAnnotationMatcher implements BaselineMatcher
Matcher to test ClassInfos.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class io.gitlab.plunts.gradle.plantuml.plugin.matcher.AbstractClasspathMatcher
PROJECT_CLASSPATH_HOLDER
-
-
Constructor Summary
Constructors Constructor Description ClassMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigureAccept(io.github.classgraph.ClassGraph classGraph)voidconfigureReject(io.github.classgraph.ClassGraph classGraph)ClassMatcherinsideOfProject()ClassMatcheroutsideOfProject()booleantest(io.github.classgraph.ClassInfo classInfo)ClassMatcherwithName(java.lang.String name)ClassMatcherwithNameLike(java.lang.String glob)ClassMatcherwithoutParentClass()ClassMatcherwithParentClass()-
Methods inherited from class io.gitlab.plunts.gradle.plantuml.plugin.matcher.AbstractAnnotationMatcher
annotatedWith, annotationsMatch
-
Methods inherited from class io.gitlab.plunts.gradle.plantuml.plugin.matcher.AbstractModifierMatcher
andAbstract, andNative, andNotAbstract, andNotNative, andNotStatic, andNotTransient, andNotVolatile, andPackagePrivate, andPrivate, andProtected, andPublic, andStatic, andTransient, andVolatile, modifiersMatch, orPackagePrivate, orPrivate, orProtected, orPublic, thatAreAbstract, thatAreNative, thatAreNotAbstract, thatAreNotNative, thatAreNotStatic, thatAreNotTransient, thatAreNotVolatile, thatArePackagePrivate, thatArePrivate, thatAreProtected, thatArePublic, thatAreStatic, thatAreTransient, thatAreVolatile
-
Methods inherited from class io.gitlab.plunts.gradle.plantuml.plugin.matcher.AbstractNameMatcher
nameMatches
-
Methods inherited from class io.gitlab.plunts.gradle.plantuml.plugin.matcher.AbstractClasspathMatcher
classpathMatches, setProjectClasspath
-
-
-
-
Method Detail
-
withParentClass
public ClassMatcher withParentClass()
-
withoutParentClass
public ClassMatcher withoutParentClass()
-
test
public boolean test(io.github.classgraph.ClassInfo classInfo)
- Specified by:
testin interfacejava.util.function.Predicate<io.github.classgraph.ClassInfo>
-
withName
public ClassMatcher withName(java.lang.String name)
- Overrides:
withNamein classAbstractModifierMatcher
-
withNameLike
public ClassMatcher withNameLike(java.lang.String glob)
- Overrides:
withNameLikein classAbstractModifierMatcher
-
outsideOfProject
public ClassMatcher outsideOfProject()
- Overrides:
outsideOfProjectin classAbstractClasspathMatcher
-
insideOfProject
public ClassMatcher insideOfProject()
- Overrides:
insideOfProjectin classAbstractClasspathMatcher
-
configureAccept
public void configureAccept(io.github.classgraph.ClassGraph classGraph)
- Specified by:
configureAcceptin interfaceBaselineMatcher
-
configureReject
public void configureReject(io.github.classgraph.ClassGraph classGraph)
- Specified by:
configureRejectin interfaceBaselineMatcher
-
-