org.eclipse.ptp.rdt.sync.core
Class AbstractSyncFileFilter.AbstractIgnoreRule
java.lang.Object
org.eclipse.ptp.rdt.sync.core.AbstractSyncFileFilter.AbstractIgnoreRule
- Enclosing class:
- AbstractSyncFileFilter
public abstract class AbstractSyncFileFilter.AbstractIgnoreRule
- extends Object
Abstract class for ignore rules
AbstractSyncFileFilter.AbstractIgnoreRule
public AbstractSyncFileFilter.AbstractIgnoreRule()
isMatch
public abstract boolean isMatch(IResource target)
isMatch
public abstract boolean isMatch(String target,
boolean isFolder)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
getResult
public abstract boolean getResult()
- Returns:
- true if the target is to be ignored, false otherwise.
toString
public abstract String toString()
- Overrides:
toString in class Object
- Returns:
- String representing the full pattern (e.g. including an encoding for exclude)
getPattern
public abstract String getPattern()
- Returns:
- String without encoding of extra flags which are querryable separately (currently only exclude)
Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.