How to add role actors in JIRA using JIRA java API?

While developing a plug-in, I don’t know how to add default role actors using java API.