Package weka.gui.knowledgeflow
Class TemplateManager
java.lang.Object
weka.gui.knowledgeflow.TemplateManager
Manages all things template-related
- Version:
- $Revision: $
- Author:
- Mark Hall (mhall{[at]}pentaho{[dot]}com)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet descriptions for the built-in knowledge flow templatesgetBuiltinTemplateFlow
(String flowDescription) Get the built-in template flow corresponding to the descriptionGet descriptions for plugin knowledge flow templatesgetPluginTemplateFlow
(String flowDescription) Get the plugin template flow corresponding to the descriptiongetTemplateFlow
(String flowDescription) Get the flow for the supplied descriptionint
Get the number of builtin KF templates availableint
Get the number of plugin KF templates availableint
Get the total number of KF templates available
-
Constructor Details
-
TemplateManager
public TemplateManager()
-
-
Method Details
-
numTemplates
public int numTemplates()Get the total number of KF templates available- Returns:
- the total number (both builtin and plugin) KF templates available
-
numBuiltinTemplates
public int numBuiltinTemplates()Get the number of builtin KF templates available- Returns:
- the number of builtin KF templates available
-
numPluginTemplates
public int numPluginTemplates()Get the number of plugin KF templates available- Returns:
- the number of plugin KF templates available
-
getBuiltinTemplateDescriptions
Get descriptions for the built-in knowledge flow templates- Returns:
- descriptions for the built-in templates
-
getPluginTemplateDescriptions
Get descriptions for plugin knowledge flow templates- Returns:
- descriptions for plugin templates
-
getTemplateFlow
Get the flow for the supplied description- Parameters:
flowDescription
- the description of the template flow to get- Returns:
- the template flow
- Throws:
WekaException
- if the template does not exist
-
getBuiltinTemplateFlow
Get the built-in template flow corresponding to the description- Parameters:
flowDescription
- the description of the template flow to get- Returns:
- the flow
- Throws:
IOException
- if an IO error occursWekaException
- if a problem occurs
-
getPluginTemplateFlow
Get the plugin template flow corresponding to the description- Parameters:
flowDescription
- the description of the template flow to get- Returns:
- the flow
- Throws:
IOException
- if an IO error occursWekaException
- if a problem occurs
-