org.apache.beehive.netui.compiler
Class FlowControllerInfo
Object
SourceFileInfo
FlowControllerInfo
public class FlowControllerInfo
- extends SourceFileInfo
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlowControllerInfo
public FlowControllerInfo(ClassDeclaration jclass)
FlowControllerInfo
public FlowControllerInfo(ClassDeclaration jclass,
File webappRoot)
getActions
public FlowControllerInfo.ActionInfo[] getActions()
isNested
public boolean isNested()
getReturnActions
public FlowControllerInfo.ActionInfo[] getReturnActions()
getFormBeanType
public String getFormBeanType(String actionName)
addAction
public void addAction(String actionName,
String formBeanType)
addReturnAction
public void addReturnAction(String returnActionName,
String formBeanType)
getReferencedFiles
public List<File> getReferencedFiles()
- Get a list of referenced files (files that appear in Jpf.Forward paths).
addReferencedFile
public void addReferencedFile(File file)
getSharedFlowTypes
public Map<String,TypeDeclaration> getSharedFlowTypes()
getSharedFlowTypeNames
public Map<String,String> getSharedFlowTypeNames()
getMergedControllerAnnotation
public MergedControllerAnnotation getMergedControllerAnnotation()
getWebappRoot
public File getWebappRoot()
getMessageBundlesByName
public Map<String,String> getMessageBundlesByName()
addMessageBundle
public void addMessageBundle(String bundleName,
String bundlePath)
getControllerClassName
public String getControllerClassName()
getSharedFlowFiles
public Map<String,File> getSharedFlowFiles()
enableNavigateToAction
public void enableNavigateToAction()
enableNavigateToPage
public void enableNavigateToPage()
isNavigateToActionEnabled
public boolean isNavigateToActionEnabled()
isNavigateToPageEnabled
public boolean isNavigateToPageEnabled()
addReturnAction
public TypeMirror addReturnAction(String returnActionName,
AnnotationMirror annotation,
TypeDeclaration outerType)
- Add a return-action from an annotation.
- Returns:
- the form bean type, or
null
if there is no form bean.