如下所示,有一个使用 @SystemSetup 注释的方法,但是如何触发此方法?
@SystemSetup(extension = IwacockpitsConstants.EXTENSIONNAME)
public class IwaCockpitsSystemSetup{
@SystemSetup(type = SystemSetup.Type.ALL, process = SystemSetup.Process.ALL)
public void createCsCockpitUsers(){}
}
此外,还有官方评论:
/**
* This class is called during IwaCockpits system setup, either selecting essential or project data.
*
* The main method of this class ({@link #createCsCockpitUsers()} is responsible for creating all the IWA CSCockpit
* custom groups and their restrictions.
*/