public interface KnowledgeBaseScript
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_REQUIRED
The script file is required by default.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCharset()
Returns the charset.
|
String |
getFileName()
Returns the filename.
|
ScriptKnowledgeBase |
getKnowledgeBase()
Returns a knowledge base that uses this script.
|
boolean |
isRequired()
Returns
true if the file is required. |
void |
setCharset(String charset)
Sets the charset.
|
void |
setFileName(String fileName)
Sets the filename.
|
void |
setKnowledgeBase(ScriptKnowledgeBase knowledgeBase)
Sets a knowledge base that uses this script.
|
void |
setRequired(boolean required)
Sets if the file is required.
|
static final boolean DEFAULT_REQUIRED
ScriptKnowledgeBase getKnowledgeBase()
void setKnowledgeBase(ScriptKnowledgeBase knowledgeBase)
knowledgeBase - a knowledge base.String getFileName()
void setFileName(String fileName)
fileName - the filename.String getCharset()
void setCharset(String charset)
charset - the charset.boolean isRequired()
true if the file is required.true if the file is required.void setRequired(boolean required)
required - true if the file is required.Copyright © 2016–2017 Softelnet. All rights reserved.