summaryrefslogtreecommitdiff
path: root/java/pablotron/luigi/actions/TextAction.java
blob: 3024f239ca2e2d7b40922d11b03a96a95b0bb13b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package pablotron.luigi.actions;

import java.util.Map;
import pablotron.luigi.actions.Action;
import pablotron.luigi.Filter;
import pablotron.luigi.LuigiError;

public final class TextAction implements Action {
  private final String text;

  public TextAction(final String text) {
    this.text = text;
  }

  public String run(
    Map<String, Filter.Handler> filters,
    Map<String, String> args
  ) throws LuigiError {
    return this.text;
  }
};