Package org.revapi.basic
Class ExactElementMatcher
- java.lang.Object
-
- org.revapi.basic.ExactElementMatcher
-
- All Implemented Interfaces:
AutoCloseable
,org.revapi.configuration.Configurable
,org.revapi.ElementMatcher
public final class ExactElementMatcher extends Object implements org.revapi.ElementMatcher
- Author:
- Lukas Krejci
-
-
Constructor Summary
Constructors Constructor Description ExactElementMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Optional<org.revapi.ElementMatcher.CompiledRecipe>
compile(String recipe)
String
getExtensionId()
Reader
getJSONSchema()
String
getMatcherId()
void
initialize(org.revapi.AnalysisContext analysisContext)
-
-
-
Method Detail
-
compile
public Optional<org.revapi.ElementMatcher.CompiledRecipe> compile(String recipe)
- Specified by:
compile
in interfaceorg.revapi.ElementMatcher
-
close
public void close() throws Exception
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
getMatcherId
public String getMatcherId()
- Specified by:
getMatcherId
in interfaceorg.revapi.ElementMatcher
-
getExtensionId
public String getExtensionId()
- Specified by:
getExtensionId
in interfaceorg.revapi.configuration.Configurable
-
getJSONSchema
public Reader getJSONSchema()
- Specified by:
getJSONSchema
in interfaceorg.revapi.configuration.Configurable
-
initialize
public void initialize(@Nonnull org.revapi.AnalysisContext analysisContext)
- Specified by:
initialize
in interfaceorg.revapi.configuration.Configurable
-
-