public class TemplateManager
extends java.lang.Object
Constructor and Description |
---|
TemplateManager() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getBuiltinTemplateDescriptions()
Get descriptions for the built-in knowledge flow templates
|
Flow |
getBuiltinTemplateFlow(java.lang.String flowDescription)
Get the built-in template flow corresponding to the description
|
java.util.List<java.lang.String> |
getPluginTemplateDescriptions()
Get descriptions for plugin knowledge flow templates
|
Flow |
getPluginTemplateFlow(java.lang.String flowDescription)
Get the plugin template flow corresponding to the description
|
Flow |
getTemplateFlow(java.lang.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 java.util.List<java.lang.String> getBuiltinTemplateDescriptions()
public java.util.List<java.lang.String> getPluginTemplateDescriptions()
public Flow getTemplateFlow(java.lang.String flowDescription) throws WekaException
flowDescription
- the description of the template flow to getWekaException
- if the template does not existpublic Flow getBuiltinTemplateFlow(java.lang.String flowDescription) throws java.io.IOException, WekaException
flowDescription
- the description of the template flow to getjava.io.IOException
- if an IO error occursWekaException
- if a problem occurspublic Flow getPluginTemplateFlow(java.lang.String flowDescription) throws java.io.IOException, WekaException
flowDescription
- the description of the template flow to getjava.io.IOException
- if an IO error occursWekaException
- if a problem occurs