Closed palagdan closed 14 hours ago
@blcham
We have two options for solving this:
We can add a Property
parameter to the @Parameter
annotation. This parameter will be optional, allowing users to provide a Property directly instead of using a prefix and name.
Alternatively, we can create a separate file specifically for constants such as replace, value, selects, etc.
I believe it does not come with price of adding new dependencies, so i would go with adding Property
named e.g. url
.
@blcham
Property is an interface so we cannot add it to the annotation because it requires a constant value in a compile time. So we have only one options to make constants for names(replace , is-parse-text etc).
I suggest to remove urlPrefix and name parameter of @Parameter annotation and instead introduce iri
parameter as can be found in initial PR. What do you think?
Raw values in attribute
name
should be changed to constant