View Javadoc

1   package org.weda.workflow.impl;
2   
3   import org.weda.workflow.Path;
4   
5   /**
6    *
7    * @author tim
8    */
9   public class DefaultPath implements Path {
10      private String path;
11      private boolean redirect = false;
12      
13      public DefaultPath(){        
14      }
15      
16      public DefaultPath(String path, boolean redirect){
17          this.path = path;
18          this.redirect = redirect;
19      }
20  
21      public String getPath() {
22          return path;
23      }
24  
25      public void setPath(String path) {
26          this.path = path;
27      }
28  
29      public boolean isRedirect() {
30          return redirect;
31      }
32  
33      public void setRedirect(boolean redirect) {
34          this.redirect = redirect;
35      }
36  
37  }