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

      public DefaultProfilesUpdater(ProfilesImporter profilesImporter)
  • Method Details

    • init

      public void init() throws SBonitaException
      Description copied from interface: TenantLifecycleService
      This method performs actions to initialize a TenantLifecycleService This method is called when creating a new tenant and when starting the platform.
      Specified by:
      init in interface TenantLifecycleService
      Throws:
      SBonitaException
    • execute

      public boolean execute()
      Executes a default profile update
      Returns:
      whether the default profiles where updated
      Throws:
      RuntimeException - if execution fails