Automating operations like calibrating and speckle filtering in Java

I am a beginner. I want to know that whether there is a way to automate the process of processing a Sentinel - 1 Zip file to do operations like calibration and speckle filtering using Java. If it is possible then please guide me.

@marpet can you please help me?

you can automate almost all SNAP modules using the graph processing tool (GPT)

Please have a look here:
Is this what you mean?