public class CompetencyLibrary extends CmionComponent
architecture| Constructor | Description |
|---|---|
CompetencyLibrary(IArchitecture architecture,
java.lang.String competencyLibraryFile) |
Create a new competency library
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.ArrayList<Competency> |
getCompetencies(java.lang.String type) |
return a List of competencies with the given type, the list will be empty
if no such competency is in the library
|
java.util.ArrayList<SamgarCompetencyInfo> |
getSamgarCompetencyInfos() |
returns a list of information items regarding the samgar competencies
to be loaded by the architecture.
|
protected java.io.InputStream |
openConfigurationFile(java.lang.String competencyLibraryFile) |
|
void |
registerHandlers() |
every cmion component has to implement this method and register its event and
request handlers in here
|
void |
startBackgroundCompetencies() |
in this function all competencies that are continuously running in the background are started
|
getArchitecture, isConnected, onDestroy, raisepublic CompetencyLibrary(IArchitecture architecture, java.lang.String competencyLibraryFile) throws java.lang.Exception
java.lang.Exceptionprotected java.io.InputStream openConfigurationFile(java.lang.String competencyLibraryFile)
throws java.lang.Exception
java.lang.Exceptionpublic final void registerHandlers()
CmionComponentregisterHandlers in class CmionComponentpublic void startBackgroundCompetencies()
public java.util.ArrayList<Competency> getCompetencies(java.lang.String type)
public java.util.ArrayList<SamgarCompetencyInfo> getSamgarCompetencyInfos()