How to create custom rules via the RHAMT?
Issue
We are trying to use the RHAMT to analyse application code in preparation to for the move from EAP 6.4 to EAP 7.1.
How does one add custom rules to the tool?
For example,
I would like it flagged when a certain annotation is detected. Like below:
@DefaultBean
Class someClass{
}
or when a certain method is called
entity.getTransaction
With a custom message explaining the steps to correct this.
Environment
Red Hat JBoss Enterprise Application Platform 6.4.z. / 7.1.z
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
