FastIgnoreRule
instead. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=440732@Deprecated public class IgnoreRule extends Object
Constructor and Description |
---|
IgnoreRule(String pattern)
Deprecated.
Create a new ignore rule with the given pattern.
|
Modifier and Type | Method and Description |
---|---|
boolean |
dirOnly()
Deprecated.
|
boolean |
getNameOnly()
Deprecated.
|
boolean |
getNegation()
Deprecated.
|
String |
getPattern()
Deprecated.
|
boolean |
getResult()
Deprecated.
If a call to
isMatch(String, boolean) was previously
made, this will return whether or not the target was ignored. |
boolean |
isMatch(String target,
boolean isDirectory)
Deprecated.
Returns true if a match was made.
|
String |
toString()
Deprecated.
|
public IgnoreRule(String pattern)
pattern
- Base pattern for the ignore rule. This pattern will
be parsed to generate rule parameters.public boolean getNameOnly()
public boolean dirOnly()
public boolean getNegation()
public String getPattern()
public boolean isMatch(String target, boolean isDirectory)
getResult()
for the ignore status. The actual
ignore status may be true or false depending on whether this rule is
an ignore rule or a negation rule.target
- Name pattern of the file, relative to the base directory of this ruleisDirectory
- Whether the target file is a directory or notgetResult()
for the result.public boolean getResult()
isMatch(String, boolean)
was previously
made, this will return whether or not the target was ignored. Otherwise
this just indicates whether the rule is non-negation or negation.Copyright © 2015. All rights reserved.