public interface MetadataTransform
Implementations should also typically have a static factory method with a
 single Map<String, String> argument for creating instances based on
 configuration.
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
MetadataTransform.HistoricalWrapper
Versions prior to 4.1.1 used class named "DocumentTransform". 
 | 
static class  | 
MetadataTransform.Keyset
 | 
static class  | 
MetadataTransform.TransmissionDecision
Transforms can cancel sending a document, or cancel sending its contents by
 adding a  
Transmission-Decision to the Map of params
 supplied to the transform method of the
 MetadataTransform. | 
| Modifier and Type | Field and Description | 
|---|---|
static String | 
KEY_CONTENT_TYPE
The key for the document's content type supplied in the  
params. | 
static String | 
KEY_CRAWL_ONCE
The key for the document's crawl once flag supplied in the  
params. | 
static String | 
KEY_DISPLAY_URL
The key for the document's display URL supplied in the  
params. | 
static String | 
KEY_DOC_ID
The key for the document's unique ID supplied in the  
params. | 
static String | 
KEY_FORCED_TRANSMISSION_DECISION  | 
static String | 
KEY_LAST_MODIFIED_MILLIS_UTC
The key for the document's last modified timestamp supplied in the
  
params. | 
static String | 
KEY_LOCK
The key for the document's lock flag supplied in the  
params. | 
static String | 
KEY_TRANSMISSION_DECISION
The key for a  
MetadataTransform.TransmissionDecision that may be added to the
 params. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
transform(Metadata metadata,
         Map<String,String> params)
Any changes to  
metadata and params will be
 passed on to subsequent transforms. | 
static final String KEY_DOC_ID
params.static final String KEY_DISPLAY_URL
params.static final String KEY_CONTENT_TYPE
params.static final String KEY_CRAWL_ONCE
params.static final String KEY_LOCK
params.static final String KEY_LAST_MODIFIED_MILLIS_UTC
params.static final String KEY_TRANSMISSION_DECISION
MetadataTransform.TransmissionDecision that may be added to the
 params.static final String KEY_FORCED_TRANSMISSION_DECISION