1 48 49 package org.jpublish.action; 50 51 import com.anthonyeden.lib.config.Configuration; 52 import org.jpublish.RequestContext; 53 54 61 62 public class PathAction implements Action { 63 64 private String path = null; 65 private Action action = null; 66 67 73 74 public PathAction(String path, Action action) { 75 this.path = path; 76 this.action = action; 77 } 78 79 84 85 public String getPath() { 86 return path; 87 } 88 89 95 96 public void execute(RequestContext context, Configuration configuration) { 97 action.execute(context, configuration); 98 } 99 100 } 101 | Popular Tags |