org.apache.ivy.plugins.matcher

Class MatcherHelper

public final class MatcherHelper extends Object

Set of helper methods to match ModuleId, ModuleRevisionId, ArtifactId
Method Summary
static booleanisExact(PatternMatcher m, ModuleRevisionId exp)
static booleanisExact(PatternMatcher m, ModuleId exp)
static booleanisExact(PatternMatcher m, String exp)
static booleanmatches(PatternMatcher m, String expression, String input)
static booleanmatches(PatternMatcher m, ModuleId exp, ModuleId mid)
static booleanmatches(PatternMatcher m, ModuleRevisionId exp, ModuleRevisionId mrid)
static booleanmatches(PatternMatcher m, ArtifactId exp, ArtifactId aid)

Method Detail

isExact

public static boolean isExact(PatternMatcher m, ModuleRevisionId exp)

isExact

public static boolean isExact(PatternMatcher m, ModuleId exp)

isExact

public static boolean isExact(PatternMatcher m, String exp)

matches

public static boolean matches(PatternMatcher m, String expression, String input)

matches

public static boolean matches(PatternMatcher m, ModuleId exp, ModuleId mid)

matches

public static boolean matches(PatternMatcher m, ModuleRevisionId exp, ModuleRevisionId mrid)

matches

public static boolean matches(PatternMatcher m, ArtifactId exp, ArtifactId aid)