Liquibase Java Api support

Hi,

I am using liquibase community edition for my database deployments using a spring application. I am doing the deployments using the java api. Incase of rollbacks , doing them using a tag/count/date. But I want to rollback a specific or targeted sql script. In liquibase pro there is a maven command for doing so. I would like to know if we can do the same using java api.

My question is, Does liquibase java api is different for community edition and pro edition?

I have did a research on this , but I could not find any different java api for pro.
Anykind of help is appreciated.
Thanks in advance