Examples of Action


Examples of voldemort.store.routed.action.Action

                        logger.trace(operation.getSimpleName() + " request, events complete");

                    break;
                }

                Action action = eventActions.get(event);

                if(action == null)
                    throw new IllegalStateException("action was null for event " + event);

                if(logger.isTraceEnabled())
                    logger.trace(operation.getSimpleName() + " request, action "
                                 + action.getClass().getSimpleName() + " to handle " + event
                                 + " event");

                action.execute(this);
            }
        } finally {
            finished = true;
        }
    }
View Full Code Here

Examples of webwork.action.Action

    private ActionsContainerFactory actionsContainerFactory = new ActionsContainerFactory();
   
    public Action getActionImpl(String className) throws Exception {
        try {
            Class actionClass = actionsContainerFactory.getActionClass(className);
            Action action = null;
            try {
                action = instantiateAction(actionClass);
            } catch (Exception e) {
                //swallow these exceptions and return null action
            }
View Full Code Here

Examples of xregistry.XregistryConstants.Action

                captoken.setActor(results.getString(ALLOWED_ACTOR));
                captoken.setResourceID(results.getString(RESOURCE_ID));
                captoken.setActorType(results.getBoolean(IS_USER));
               
                String capActionStr = results.getString(ACTION_TYPE);
                Action capAction = Action.All;
                if(capActionStr != null){
                    capAction = Action.valueOf(capActionStr);
                }
               
                //If use has give a search action, skip everything does not match
                if(searchAction != null){
                    if(!capAction.equals(Action.All) && !capAction.equals(searchAction)){
                        break;
                    }
                }
                captoken.setAction(capAction.toString());
                String assertion = results.getString(ASSERTION);
                if(assertion != null){
                    captoken.setAssertions(assertion);
                }
               
View Full Code Here

Examples of zendeskapi.models.macros.Action

  @Test
  public void testCreateUpdateApplyAndDeleteMacro() throws Exception {
    Macro macro = new Macro();
    macro.setTitle("Test Macro 1");
    List<Action> actions = new ArrayList<Action>();
    Action action = new Action();
    action.setField("status");
    action.setValue("open");
    actions.add(action);
    macro.setActions(actions);
   
    // Create
    Macro responseMacro = API.getMacros().createMacro(macro).getMacro();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.