Package org.apache.oodt.cas.cli.option.store.spring

Examples of org.apache.oodt.cas.cli.option.store.spring.SpringCmdLineOptionStore


   private static final String SPRING_OPTION_CONFIG = "src/testdata/cmd-line-options.xml";
   private static final String SPRING_ACTION_CONFIG = "src/testdata/cmd-line-actions.xml";

   public void testLoadSupportedOptions() throws CmdLineActionStoreException,
         CmdLineOptionStoreException {
      SpringCmdLineOptionStore optionStore = new SpringCmdLineOptionStore(
            SPRING_OPTION_CONFIG);
      Set<CmdLineOption> options = optionStore.loadSupportedOptions();
      SpringCmdLineActionStore actionStore = new SpringCmdLineActionStore(
            SPRING_ACTION_CONFIG);
      Set<CmdLineAction> actions = actionStore.loadSupportedActions();

      // Check that all options were loaded.
View Full Code Here


                  .getApplyToActions().get(0).getMethodName());
   }

   public void testHandlers() throws CmdLineActionStoreException,
         CmdLineOptionStoreException {
      SpringCmdLineOptionStore store = new SpringCmdLineOptionStore(
            SPRING_OPTION_CONFIG);
      Set<CmdLineOption> options = store.loadSupportedOptions();
      SpringCmdLineActionStore actionStore = new SpringCmdLineActionStore(
            SPRING_ACTION_CONFIG);
      Set<CmdLineAction> actions = actionStore.loadSupportedActions();

      // Load PrintHelloWorldAction
View Full Code Here

TOP

Related Classes of org.apache.oodt.cas.cli.option.store.spring.SpringCmdLineOptionStore

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.