Constructor and Description |
---|
ModerationPipe() |
Modifier and Type | Method and Description |
---|---|
<T extends UGC> |
process(T ugc,
Map<String,Object> params)
Process the given ugc in to the pipeline
|
void |
setModerationDecision(ModerationDecision moderationDecision) |
public <T extends UGC> void process(T ugc, Map<String,Object> params) throws SocialException
UgcPipe
process
in interface UgcPipe
T
- Any UGC objectugc
- UGC of going thru the pipelineSocialException
- If the UGC can't be process. Stops the pipeline executionpublic void setModerationDecision(ModerationDecision moderationDecision)
Copyright © 2018 CrafterCMS. All rights reserved.