blob: ff9db82c36f470bcdbeeb2649e14d61da6afbcd2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
/*******************************************************************************
* Copyright (c) 2000, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.team.core;
/**
* An ignore info specifies both the pattern and the enabled state of a globally
* ignored pattern.
*
* @since 2.0
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface IIgnoreInfo {
/**
* Return the string specifying the pattern of this ignore. The string
* may include the wildcard characters '*' and '?'. If you wish to
* include either of these characters verbatim (i.e. you do not wish
* them to expand to wildcards), you must escape them with a backslash '\'.
* <p>
* If you are using string literals in Java to represent the patterns, don't
* forget escape characters are represented by "\\".
*
* @return the pattern represented by this ignore info
*/
public String getPattern();
/**
* Return whether or not this ignore info is enabled. A disabled ignore
* info remains in the global ignore list, but no attempt is made to match
* with it to determine resource ignore state.
*
* @return whether the ignore info is enabled
*/
public boolean getEnabled();
}
|