Package org.eclipse.jgit.ignore
Enum IgnoreNode.MatchResult
- All Implemented Interfaces:
Serializable
,Comparable<IgnoreNode.MatchResult>
- Enclosing class:
IgnoreNode
Result from
IgnoreNode.isIgnored(String, boolean)
.-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe ignore status is unknown, check inherited rules.The first previous (parent) ignore rule match (if any) should be negated, and then inherited rules applied.The file is ignored due to a rule in this node.The file is not ignored, due to a rule saying its not ignored. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IgnoreNode.MatchResult
Returns the enum constant of this type with the specified name.static IgnoreNode.MatchResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NOT_IGNORED
The file is not ignored, due to a rule saying its not ignored. -
IGNORED
The file is ignored due to a rule in this node. -
CHECK_PARENT
The ignore status is unknown, check inherited rules. -
CHECK_PARENT_NEGATE_FIRST_MATCH
The first previous (parent) ignore rule match (if any) should be negated, and then inherited rules applied.- Since:
- 3.6
-
-
Constructor Details
-
MatchResult
private MatchResult()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-