Package org.ametys.web.live
Class PluginsLivePopulator
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.web.live.ContentsLivePopulator
-
- org.ametys.web.live.PluginsLivePopulator
-
- All Implemented Interfaces:
LogEnabled
,LivePopulator
,Serviceable
public class PluginsLivePopulator extends ContentsLivePopulator
LivePopulator
for synchronizing '/ametys:root/ametys:plugins'.
-
-
Field Summary
-
Fields inherited from class org.ametys.web.live.ContentsLivePopulator
_resolver, _synchronizeHelper
-
-
Constructor Summary
Constructors Constructor Description PluginsLivePopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
populate(Session session, Session liveSession)
Populates the live workspace.-
Methods inherited from class org.ametys.web.live.ContentsLivePopulator
_cloneContents, _getContents, service
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
PluginsLivePopulator
public PluginsLivePopulator()
-
-
Method Detail
-
populate
public List<String> populate(Session session, Session liveSession) throws Exception
Description copied from interface:LivePopulator
Populates the live workspace.- Specified by:
populate
in interfaceLivePopulator
- Overrides:
populate
in classContentsLivePopulator
- Parameters:
session
- the session on the default workspace.liveSession
- the session on the live workspace.- Returns:
- A list of error technical messages. A message can use \n for carriage return.
- Throws:
Exception
- if an error occurs.
-
-