Class Mergers
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.plugins.contentio.archive.Mergers
-
- All Implemented Interfaces:
LogEnabled
,Disposable
,Initializable
,Component
,Serviceable
public class Mergers extends AbstractLogEnabled implements Component, Serviceable, Initializable, Disposable
The component holding theMerger
implementations
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
Mergers.AbstractMerger
private static class
Mergers.DeleteBefore
private static class
Mergers.Fail
private static class
Mergers.Ignore
private static class
Mergers.Replace
-
Field Summary
Fields Modifier and Type Field Description private static Merger[]
__IMPLEMENTATIONS
(package private) AmetysObjectResolver
_ametysObjectResolver
(package private) SourceResolver
_sourceResolver
(package private) static Merger
DELETE_BEFORE
(package private) static Merger
FAIL
(package private) static Merger
IGNORE
(package private) static Merger
REPLACE
static String
ROLE
Avalon role.
-
Constructor Summary
Constructors Constructor Description Mergers()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static void
_bindMergersComponent(Mergers mergersComponent)
void
dispose()
protected org.slf4j.Logger
getLogger()
Returns theLogger
.void
initialize()
void
service(ServiceManager manager)
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
setLogger
-
-
-
-
Field Detail
-
DELETE_BEFORE
static final Merger DELETE_BEFORE
-
__IMPLEMENTATIONS
private static final Merger[] __IMPLEMENTATIONS
-
_ametysObjectResolver
AmetysObjectResolver _ametysObjectResolver
-
_sourceResolver
SourceResolver _sourceResolver
-
-
Constructor Detail
-
Mergers
public Mergers()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
_bindMergersComponent
private static void _bindMergersComponent(Mergers mergersComponent)
-
initialize
public void initialize() throws Exception
- Specified by:
initialize
in interfaceInitializable
- Throws:
Exception
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceDisposable
-
getLogger
protected org.slf4j.Logger getLogger()
Description copied from class:AbstractLogEnabled
Returns theLogger
.- Overrides:
getLogger
in classAbstractLogEnabled
- Returns:
- the
Logger
.
-
-