public class TemplateManager extends Object
| Constructor and Description |
|---|
TemplateManager() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getBuiltinTemplateDescriptions()
Get descriptions for the built-in knowledge flow templates
|
Flow |
getBuiltinTemplateFlow(String flowDescription)
Get the built-in template flow corresponding to the description
|
List<String> |
getPluginTemplateDescriptions()
Get descriptions for plugin knowledge flow templates
|
Flow |
getPluginTemplateFlow(String flowDescription)
Get the plugin template flow corresponding to the description
|
Flow |
getTemplateFlow(String flowDescription)
Get the flow for the supplied description
|
int |
numBuiltinTemplates()
Get the number of builtin KF templates available
|
int |
numPluginTemplates()
Get the number of plugin KF templates available
|
int |
numTemplates()
Get the total number of KF templates available
|
public int numTemplates()
public int numBuiltinTemplates()
public int numPluginTemplates()
public List<String> getBuiltinTemplateDescriptions()
public List<String> getPluginTemplateDescriptions()
public Flow getTemplateFlow(String flowDescription) throws WekaException
flowDescription - the description of the template flow to getWekaException - if the template does not existpublic Flow getBuiltinTemplateFlow(String flowDescription) throws IOException, WekaException
flowDescription - the description of the template flow to getIOException - if an IO error occursWekaException - if a problem occurspublic Flow getPluginTemplateFlow(String flowDescription) throws IOException, WekaException
flowDescription - the description of the template flow to getIOException - if an IO error occursWekaException - if a problem occursCopyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.