Package cmion.level2.competencies.test
Class TestCompetency5
- java.lang.Object
-
- ion.Meta.Element
-
- cmion.architecture.CmionComponent
-
- cmion.level2.Competency
-
- cmion.level2.competencies.test.TestCompetency5
-
- All Implemented Interfaces:
java.lang.Runnable
public class TestCompetency5 extends Competency
-
-
Field Summary
-
Fields inherited from class cmion.level2.Competency
available, competencyName, competencyType, plan, running
-
Fields inherited from class cmion.architecture.CmionComponent
architecture
-
-
Constructor Summary
Constructors Constructor Description TestCompetency5(IArchitecture architecture, java.lang.String someParameter1, java.lang.String someParameter2)constructor of the test competency, this one has an additional parameter, purely for the purpose whether the constructor is found and the parameter passed correctly
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancompetencyCode(java.util.HashMap<java.lang.String,java.lang.String> parameters)competency codevoidinitialize()perform initialisations in this methodbooleanrunsInBackground()this competency is invoked directly (does not run in background)-
Methods inherited from class cmion.level2.Competency
cancel, getCompetencyName, getCompetencyType, isAvailable, isRunning, registerHandlers, requestStartCompetency, run, setAdditionalData
-
Methods inherited from class cmion.architecture.CmionComponent
getArchitecture, isConnected, onDestroy, raise
-
-
-
-
Constructor Detail
-
TestCompetency5
public TestCompetency5(IArchitecture architecture, java.lang.String someParameter1, java.lang.String someParameter2)
constructor of the test competency, this one has an additional parameter, purely for the purpose whether the constructor is found and the parameter passed correctly
-
-
Method Detail
-
initialize
public void initialize()
perform initialisations in this method- Specified by:
initializein classCompetency
-
runsInBackground
public boolean runsInBackground()
this competency is invoked directly (does not run in background)- Specified by:
runsInBackgroundin classCompetency
-
competencyCode
protected boolean competencyCode(java.util.HashMap<java.lang.String,java.lang.String> parameters)
competency code- Specified by:
competencyCodein classCompetency- Parameters:
parameters- a map including running parameters and their values- Returns:
- the return value of this method should indicate, whether the competency execution was a success (true) or failure (false)
-
-