Package org.bonitasoft.engine.profile
Class DefaultProfilesUpdater
java.lang.Object
org.bonitasoft.engine.profile.DefaultProfilesUpdater
- All Implemented Interfaces:
LifecycleService,TenantLifecycleService
@Component
@Order(3)
public class DefaultProfilesUpdater
extends Object
implements TenantLifecycleService
Update provided profiles from profiles.xml from classpath
-
Constructor Details
-
DefaultProfilesUpdater
-
-
Method Details
-
init
Description copied from interface:TenantLifecycleServiceThis method performs actions to initialize a TenantLifecycleService This method is called when creating a new tenant and when starting the platform.- Specified by:
initin interfaceTenantLifecycleService- Throws:
SBonitaException
-
execute
public boolean execute()Executes a default profile update- Returns:
- whether the default profiles where updated
- Throws:
RuntimeException- if execution fails
-