Package org.apache.oodt.cas.cli.option.handler

Examples of org.apache.oodt.cas.cli.option.handler.ApplyToActionHandler


      return rule;
   }

   public static ApplyToActionHandler createApplyToActionHandler(
         String actionName, String methodName) {
      ApplyToActionHandler handler = new ApplyToActionHandler();
      handler.setApplyToActions(Lists.newArrayList(new ApplyToAction(
            actionName, methodName)));
      return handler;
   }
View Full Code Here


* @author bfoster (Brian Foster)
*/
public class TestApplyToActionHandler extends TestCase {

   public void testWithoutApplyToActionMappingSet() {
      ApplyToActionHandler handler = new ApplyToActionHandler();
      assertNull(handler.getApplyToActions());
      PrintMessageAction action = new PrintMessageAction();
      action.setName("PrintMessageAction");

      assertNull(action.getMessage());

View Full Code Here

TOP

Related Classes of org.apache.oodt.cas.cli.option.handler.ApplyToActionHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.