API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.web. JOTFlowConfig View Source
Author(s)
thibautc
Since
Version
Serial
Hierarchy
 Object
      JOTFlowConfig
Implements
Subclasses
Description
public class JOTFlowConfig
Object representation of the flow config file: flow.conf Also provide validation methods to cross-check the flow.conf.
See also:   
Constructors
public JOTFlowConfig ()
Methods
Hide/Show inherited methods
public void addDirective (JOTFlowDirective directive) throws Exception
  Adds a directive found in flow.conf
public Hashtable getActions ()
public Hashtable getBundles ()
public String getConfigPath ()
public String getError ()
public String getErrorRequest ()
public String getFlowExtension ()
public String getForbiddenRequest ()
public Hashtable getForms ()
public String getNotFoundRequest ()
public Hashtable getRequests ()
public String getTemplateRoots ()
public boolean isValid ()
  Returns wether the parsing of flow.conf fails Note: this does not run the extra validations in runValidation(), so usually would be called after runValidation()
public void runValidation ()
Runs a validation of the loaded flow.conf, calls setValidationError if an error is found Checks that view/controller/forms classes exists and are of right type etc...
public void setConfigPath (String confPath)
public void setError (String error)
public void setErrorRequest (String request)
public void setFlowExtension (String flowExtension)
public void setForbiddenRequest (String request)
public void setNotFoundRequest (String request)
public void setTemplateRoot (String templateRoot)
public void setTemplateRoots (String templateRoots)
public void setValid (boolean valid)
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar