Search in sources :

Example 1 with Action

use of com.adobe.acs.commons.quickly.results.Action in project acs-aem-commons by Adobe-Consulting-Services.

the class DuckDuckGoDocsOperationImpl method withoutParams.

@Override
protected List<Result> withoutParams(final SlingHttpServletRequest request, final SlingHttpServletResponse response, final Command cmd) {
    final List<Result> results = new ArrayList<Result>();
    final Result result = new Result.Builder("docs.adobe.com").description("http://docs.adobe.com").action(new Action.Builder().uri("http://docs.adobe.com").target(Action.Target.BLANK).build()).build();
    results.add(result);
    return results;
}
Also used : Action(com.adobe.acs.commons.quickly.results.Action) ArrayList(java.util.ArrayList) Result(com.adobe.acs.commons.quickly.results.Result)

Aggregations

Action (com.adobe.acs.commons.quickly.results.Action)1 Result (com.adobe.acs.commons.quickly.results.Result)1 ArrayList (java.util.ArrayList)1