A building method that returns an {@link Action} object.

@return An action object.
196606
public Action toAction() {
    Action action = CommanderUtils.createAction(this, this.variableNames());
    return this.description != null ?
        named(this.description, action) :
        action;
  }
68122
public static <Result> TaskBuilder<Result> create(Callable<Result> action) {
        return new TaskBuilder<Result>().action(action);
    }
1143495
public Actions doubleClick() {
    if (isBuildingActions()) {
      action.addAction(new DoubleClickAction(jsonMouse, null));
    }

    return clickInTicks(LEFT).clickInTicks(LEFT);
  }
464938
def _get_action(self, action):
        

        # If we don't have an action named that, bail out
        if action not in self.wsgi_actions:
            return None

        # Generate an ActionDescriptor if necessary
        if action not in self.wsgi_descriptors:
            self.wsgi_descriptors[action] = actions.ActionDescriptor(
                self.wsgi_actions[action],
                self.wsgi_extensions.get(action, []),
                self.wsgi_resp_type)

        # OK, return the method descriptor
        return self.wsgi_descriptors[action]
534360
@Override
    public Iterator<Action> iterator() {
        Set<Action> sorted = new TreeSet<>(startFirstComparator);
        sorted.addAll(actions);
        return sorted.iterator();
    }
605580
public Action build(Class<?> clazz) {
    Action action = new Action();
    String className = clazz.getName();
    Profile profile = profileService.getProfile(className);
    org.beangle.struts2.annotation.Action an = clazz
        .getAnnotation(org.beangle.struts2.annotation.Action.class);
    StringBuilder sb = new StringBuilder();
    // namespace
    sb.append(profile.getUriPath());
    if (null != an) {
      String name = an.value();
      if (!name.startsWith("/")) {
        if (Constants.SEO_URI.equals(profile.getUriPathStyle())) {
          sb.append(unCamel(substringBeforeLast(profile.getInfix(className), "/")) + "/" + name);
        } else {
          sb.append(name);
        }
      } else {
        sb.append(name.substring(1));
      }
    } else {
      if (Constants.SHORT_URI.equals(profile.getUriPathStyle())) {
        String simpleName = className.substring(className.lastIndexOf('.') + 1);
        sb.append(uncapitalize(simpleName.substring(0, simpleName.length()
            - profile.getActionSuffix().length())));
      } else if (Constants.SIMPLE_URI.equals(profile.getUriPathStyle())) {
        sb.append(profile.getInfix(className));
      } else if (Constants.SEO_URI.equals(profile.getUriPathStyle())) {
        sb.append(unCamel(profile.getInfix(className)));
      } else {
        throw new RuntimeException("unsupported uri style " + profile.getUriPathStyle());
      }
    }
    action.path(sb.toString());
    action.method(profile.getDefaultMethod()).extention(profile.getUriExtension());
    return action;
  }
1195613
public java.util.List<alluxio.grpc.PAclAction> getActionsList() {
    return new com.google.protobuf.Internal.ListAdapter<
        java.lang.Integer, alluxio.grpc.PAclAction>(actions_, actions_converter_);
  }
393028
public static TaskTrackerAction createAction(ActionType actionType) {
    TaskTrackerAction action = null;
    
    switch (actionType) {
    case LAUNCH_TASK:
      {
        action = new LaunchTaskAction();
      }
      break;
    case KILL_TASK:
      {
        action = new KillTaskAction();
      }
      break;
    case KILL_JOB:
      {
        action = new KillJobAction();
      }
      break;
    case REINIT_TRACKER:
      {
        action = new ReinitTrackerAction();
      }
      break;
    case COMMIT_TASK:
      {
        action = new CommitTaskAction();
      }
      break;
    }

    return action;
  }
1066687
private List<Action> actionsOf(JsonNode actionNodes) {
        List<Action> actions = new LinkedList<Action>();

        if (actionNodes.isArray()) {
            for (JsonNode action : actionNodes) {
                actions.add(new NamedAction(action.asText()));
            }
        } else {
            actions.add(new NamedAction(actionNodes.asText()));
        }
        return actions;
    }
432374
public static String buildAction(Class<?> clazz, String action) {
        return new StringBuilder().append(clazz.getCanonicalName()).append(".").append(action).toString();
    }
820907
private static IAction createAction(String action) {
        IAction actn = null;
        
        if (!StringUtils.isEmpty(action)) {
            if ((actn = ActionRegistry.getRegisteredAction(action)) == null) {
                actn = ActionUtil.createAction(null, action);
            }
        }
        
        return actn;
    }
1011693
public Action getAction(String actionName, String nodeID) {
		return serviceRegistry.getAction(actionName, nodeID);
	}
681125
public HttpClientActionBuilder client(String httpClient) {
		HttpClientActionBuilder clientAction = new HttpClientActionBuilder(action, httpClient)
				.withApplicationContext(applicationContext);
		return clientAction;
	}
805724
public Actions clickAndHold() {
    if (isBuildingActions()) {
      action.addAction(new ClickAndHoldAction(jsonMouse, null));
    }

    return tick(defaultMouse.createPointerDown(LEFT.asArg()));
  }
88084
public <T> T doInTransaction(final SpecificTxAction<T, C> action) {
        return doInTransaction(null, action);
    }
1354068
public function build()
    {
        if ($this->user->trashed()) {
            return $this->actions;
        }

        $this->checkBlocked();
        $this->checkInactive();
        $this->checkInvites();
        $this->checkPasswordReset();

        return $this->actions;
    }
1290560
@Nonnull
	public static Runnable actionFrom(Consumer<RunnableBuilder> buildingFunction) {
		RunnableBuilder builder = new RunnableBuilder();
		buildingFunction.accept(builder);
		return builder.build();
	}