question

Yann A. avatar image
Yann A. asked ·

Renaming PurePath based on method argument

Hello, I would like to know how you can use a captured argument as the PurePath name instead of the generic class name.

For example, i have a sensor configured on "Bean.execute(JobContext context)", I would like to have "context.getName()" as the PurePath name, instead of "Bean.execute(JobContext context)".

It is configured as such:

  • Place: include
  • Type: method
  • Pattern: execute (equals)
  • Argument Rules (Specify Methods by Arguments)
  • Type pattern: JobContext, capture checked, match equals, accessor = .getName()
  • Capture event checked
  • Allow to start PurePath from this method (Entry point) checked

On a side note, how is the name captured ? For example on elements that have URIs.

sensors
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Answer

Douglas V. avatar image
Douglas V. answered ·

I have the same question, I need to change purepath name to the argument value of the entrypoint. is it possible?

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.