@ConsumerType public interface ContentBuilder
PROPERTY_NAME
service registration property.Modifier and Type | Field and Description |
---|---|
static String |
PARAMETER_CONTENT_FILER_CHAIN
This parameter is set when the content builder is invoked by a replication agent.
|
static String |
PROPERTY_NAME |
Modifier and Type | Method and Description |
---|---|
ReplicationContent |
create(Session session,
ReplicationAction action,
ReplicationContentFactory contentFactory)
Create the replication content.
|
ReplicationContent |
create(Session session,
ReplicationAction action,
ReplicationContentFactory contentFactory,
Map<String,Object> parameters)
Create the replication content.
|
String |
getName()
Returns the name of this content builder.
|
String |
getTitle()
Returns the title of this content builder.
|
static final String PROPERTY_NAME
static final String PARAMETER_CONTENT_FILER_CHAIN
ReplicationContentFilterChain
to be used by ContentBuilder
s to filter
content for exclusion from the replication content being built.
This parameter is optional and might be null.ReplicationContent create(Session session, ReplicationAction action, ReplicationContentFactory contentFactory) throws ReplicationException
ReplicationContent.VOID
.session
- session to use to access the repositoryaction
- The replication action.contentFactory
- the factory for creating binary content objects.ReplicationContent.VOID
.ReplicationException
- if an error during assembly of the content occurs.ReplicationContent create(Session session, ReplicationAction action, ReplicationContentFactory contentFactory, Map<String,Object> parameters) throws ReplicationException
ReplicationContent.VOID
.session
- session to use to access the repositoryaction
- The replication action.contentFactory
- the factory for creating binary content objects.parameters
- additional parameters needed for implementation specific purposesReplicationContent.VOID
.ReplicationException
- if an error during assembly of the content occurs.String getName()
String getTitle()
Copyright © 2010 - 2020 Adobe. All Rights Reserved