Skip to content

Commit

Permalink
example plugin readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMartin committed Aug 11, 2024
1 parent e84fd46 commit fe007d7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions examples/plugin-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,16 @@ public class PluginMain implements INATTPlugin {
After defining the main plugin class, you can create custom keywords according to your needs. Below is an example of how to define a custom keyword:

```java
package natt.plugin;

import utb.fai.natt.spi.INATTContext;
import utb.fai.natt.spi.NATTKeyword;
import utb.fai.natt.spi.NATTKeyword.ParamValType;
import utb.fai.natt.spi.NATTAnnotation;
import utb.fai.natt.spi.exception.InternalErrorException;
import utb.fai.natt.spi.exception.InvalidSyntaxInConfigurationException;
import utb.fai.natt.spi.exception.NonUniqueModuleNamesException;

@NATTAnnotation.Keyword(
name = "my_keyword_1",
description = "This is my first keyword.",
Expand Down

0 comments on commit fe007d7

Please sign in to comment.