Class ModerationPipe

    • Constructor Detail

      • ModerationPipe

        public ModerationPipe()
    • Method Detail

      • process

        public <T extends UGC> void process​(T ugc,
                                            Map<String,​Object> params)
                                     throws SocialException
        Description copied from interface: UgcPipe
        Process the given ugc in to the pipeline
        Specified by:
        process in interface UgcPipe
        Type Parameters:
        T - Any UGC object
        Parameters:
        ugc - UGC of going thru the pipeline
        Throws:
        SocialException - If the UGC can't be process. Stops the pipeline execution
      • setModerationDecision

        public void setModerationDecision​(ModerationDecision moderationDecision)