Hello Groovy Devs
- I have a class defined MyTestClass in java/kotlin (does not matter)
- I have a groovy class defined MyClassDefinedInGroovy
- I have code in a groovy function that is creating these classes and
setting a variable in the object. I compile this with static compilation
itt.@name gets you the attribute called "name".
On 4/2/2023 9:29 AM, James McMahon wrote:
Hello. I am developingĀ a Groovy script to work through all the tags in
an incomingĀ t"ext representation of an xml file. I've read my xml from
the content of a NiFi flowfile, like so:
session.read(ff, {i
Hello. I am developing a Groovy script to work through all the tags in an
incoming text representation of an xml file. I've read my xml from the
content of a NiFi flowfile, like so:
session.read(ff, {inputStream ->
text = IOUtils.toString(inputStream, StandardCharsets.UTF_8)
de