Forum Discussion
There’s quite a few additional values you may find interesting. Skimming the code I see
- pipe.args.get(*), e.g., pipe.args.get(‘CONTENT_TYPE’)
- pipe.flags.immediate_mode
- pipe.flags.is_suggest
- pipe.instance_version
- pipe.property_map.instance_version
- pipe.property_map.info.label.value
- pipe.plexPath
- pipe.projectPath
- pipe.ruuid
- pipe.suspendable
- pipe.target_runtime
- pipe.tmpDir
- pipe.update_time
- pipe.update_user_id
There’s already convenience functions for some of these values, e.g., propertyValues.inImmediateMode(), but I don’t have a list of them at hand.
Related - if you haven’t seen it before java can be bad at deleting temporary files even if you set the ‘deleteOnExit()’ flag and explicitly delete it in your finalizer. At least on Linux systems - and that’s what the groundplexes and cloudplexes usually run on. The ‘pipe.tmpDir’ is at a location managed by the snap executor and it deletes everything in that directory after all of the child threads (snaps) have exited.
It’s a really good idea to use it instead of java.getProperty(“java.io.tmpdir”) since these undeleted files can cause problems over time.