Class ActionEvaluator

  • All Implemented Interfaces:
    org.alfresco.web.evaluator.Evaluator

    public class ActionEvaluator
    extends BaseRMEvaluator
    Check for the validity of Records Management actions
    • Field Summary

      • Fields inherited from class org.alfresco.web.evaluator.BaseEvaluator

        args, metadata, negateOutput
    • Constructor Summary

      Constructors 
      Constructor Description
      ActionEvaluator()  
    • Constructor Detail

      • ActionEvaluator

        public ActionEvaluator()
    • Method Detail

      • setAction

        public void setAction​(String action)
        Sets the name of the action to check for
        Parameters:
        action - The name of the action to check for
      • evaluate

        public boolean evaluate​(org.json.simple.JSONObject jsonObject)
        Specified by:
        evaluate in interface org.alfresco.web.evaluator.Evaluator
        Specified by:
        evaluate in class org.alfresco.web.evaluator.BaseEvaluator