getByIdentifier

public static PatternType getByIdentifier(String identifier)

Returns the pattern type which matches the passed identifier or null if no matches are found

Return

the matched pattern type or null

Parameters

identifier

the identifier