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

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


   }

   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 TestApplyToAction extends TestCase {

   public void testVariableSetters() {
      ApplyToAction applyToAction = new ApplyToAction();
      assertNull(applyToAction.getActionName());
      assertNull(applyToAction.getMethodName());

      String actionName = "message";
      applyToAction.setActionName(actionName);
      assertEquals(actionName, applyToAction.getActionName());

      String methodName = "setMessage";
      applyToAction.setMethodName(methodName);
      assertEquals(methodName, applyToAction.getMethodName());
   }
View Full Code Here

TOP

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

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.