java.lang.Runnablepublic class ExampleCompetency extends Competency
architectureavailable, competencyName, competencyType, plan, running| Constructor | Description |
|---|---|
ExampleCompetency(IArchitecture architecture) |
constructor, every competency, should if possible have a constructor
that receives the Architecture as an argument
|
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
competencyCode(java.util.HashMap<java.lang.String,java.lang.String> parameters) |
the custom code of the competence, this is already running in a thread
|
void |
initialize() |
perform initialisations in this method
|
boolean |
runsInBackground() |
this competency is invoked directly (does not run in background)
|
getArchitecture, isConnected, onDestroy, raisecancel, getCompetencyName, getCompetencyType, isAvailable, isRunning, registerHandlers, requestStartCompetency, run, setAdditionalDatapublic ExampleCompetency(IArchitecture architecture)
public void initialize()
initialize in class Competencypublic boolean runsInBackground()
runsInBackground in class Competencyprotected boolean competencyCode(java.util.HashMap<java.lang.String,java.lang.String> parameters)
competencyCode in class Competencyparameters - a map including running parameters and their values