public class IgnoreRuleManagerImpl extends Object implements IgnoreRuleManager
Modifier | Constructor and Description |
---|---|
protected |
IgnoreRuleManagerImpl(File directory) |
Modifier and Type | Method and Description |
---|---|
List<IgnoreRule> |
getIgnoreRules() |
static IgnoreRuleManager |
getInstanceForDirectory(File directory) |
boolean |
isIgnored(File file)
Determines, whether the given
file is ignored. |
protected IgnoreRuleManagerImpl(File directory)
public static IgnoreRuleManager getInstanceForDirectory(File directory)
public List<IgnoreRule> getIgnoreRules()
public boolean isIgnored(File file)
IgnoreRuleManager
file
is ignored.isIgnored
in interface IgnoreRuleManager
file
- a file . Must not be null
.true
, if the file is ignored, i.e. the non-qualified fileName
matches an ignore-rule. false
otherwise.Copyright © 2013–2019. All rights reserved.