Class PathExclude
-
- All Implemented Interfaces:
public final class PathExcludeDefines paths which should be excluded. Each file that is matched by the glob is marked as excluded. If a project definition file is matched by the pattern the whole project is excluded. For details about the glob syntax see the official documentation.
-
-
Constructor Summary
Constructors Constructor Description PathExclude(String pattern, PathExcludeReason reason, String comment)
-
Method Summary
Modifier and Type Method Description final StringgetPattern()A glob to match the path of the project definition file, relative to the root of the repository. final PathExcludeReasongetReason()The reason why the project is excluded, out of a predefined choice. final StringgetComment()A comment to further explain why the reason is applicable here. final Booleanmatches(String path)Return true if and only if this PathExclude matches the given path. -
-
Constructor Detail
-
PathExclude
PathExclude(String pattern, PathExcludeReason reason, String comment)
-
-
Method Detail
-
getPattern
final String getPattern()
A glob to match the path of the project definition file, relative to the root of the repository.
-
getReason
final PathExcludeReason getReason()
The reason why the project is excluded, out of a predefined choice.
-
getComment
final String getComment()
A comment to further explain why the reason is applicable here.
-
matches
final Boolean matches(String path)
Return true if and only if this PathExclude matches the given path.
-
-
-
-