protected String findActionArgumentValue(Map<String, String> entries, ActionArgument arg) { for (Map.Entry<String, String> entry : entries.entrySet()) { if (arg.isNameOrAlias(entry.getKey())) return entry.getValue(); } return null; }
/** * Returns the node with the same unprefixed name as the action argument * name/alias or <code>null</code>. */ protected Node findActionArgumentNode(List<Node> nodes, ActionArgument arg) { for(Node node : nodes) { if(arg.isNameOrAlias(getUnprefixedNodeName(node))) return node; } return null; }
public ActionArgument<S> getInputArgument(String name) { for (ActionArgument<S> arg : getInputArguments()) { if (arg.isNameOrAlias(name)) return arg; } return null; }
protected String findActionArgumentValue(Map<String, String> entries, ActionArgument arg) { for (Map.Entry<String, String> entry : entries.entrySet()) { if (arg.isNameOrAlias(entry.getKey())) return entry.getValue(); } return null; }
public ActionArgument<S> getInputArgument(String name) { for (ActionArgument<S> arg : getInputArguments()) { if (arg.isNameOrAlias(name)) return arg; } return null; }
/** * Returns the node with the same unprefixed name as the action argument * name/alias or <code>null</code>. */ protected Node findActionArgumentNode(List<Node> nodes, ActionArgument arg) { for(Node node : nodes) { if(arg.isNameOrAlias(getUnprefixedNodeName(node))) return node; } return null; }
protected String findActionArgumentValue(Map<String, String> entries, ActionArgument arg) { for (Map.Entry<String, String> entry : entries.entrySet()) { if (arg.isNameOrAlias(entry.getKey())) return entry.getValue(); } return null; }
public ActionArgument<S> getInputArgument(String name) { for (ActionArgument<S> arg : getInputArguments()) { if (arg.isNameOrAlias(name)) return arg; } return null; }
/** * Returns the node with the same unprefixed name as the action argument * name/alias or <code>null</code>. */ protected Node findActionArgumentNode(List<Node> nodes, ActionArgument arg) { for(Node node : nodes) { if(arg.isNameOrAlias(getUnprefixedNodeName(node))) return node; } return null; }