ruanwenjun opened a new pull request, #1664:
URL: https://github.com/apache/incubator-seatunnel/pull/1664
## Purpose of this pull request
This pr add a new method in Plugin.
```java
/**
* Return the plugin name, this is used in seatunnel conf DSL.
*
* @return plugin name.
*/
default String getPluginName() {
return this.getClass().getSimpleName();
}
```
And will use this method to charge whether the plugin should be used. And
override this method in subclass to adapte the current plugin name.
## Check list
* [ ] Code changed are covered with tests, or it does not need tests for
reason:
* [ ] If any new Jar binary package adding in you PR, please add License
Notice according
[New License
Guide](https://github.com/apache/incubator-seatunnel/blob/dev/docs/en/development/new-license.md)
* [ ] If necessary, please update the documentation to describe the new
feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]