Class TestCompetency8

java.lang.Object
ion.Meta.Element
cmion.architecture.CmionComponent
cmion.level2.Competency
cmion.level2.competencies.test.TestCompetency8
All Implemented Interfaces:
Runnable

public class TestCompetency8 extends Competency
one of several test competencies to test the execution system
  • Constructor Details

    • TestCompetency8

      public TestCompetency8(IArchitecture architecture)
      constructor of the test competency
  • Method Details

    • initialize

      public void initialize()
      perform initialisations in this method
      Specified by:
      initialize in class Competency
    • runsInBackground

      public boolean runsInBackground()
      this competency is invoked directly (does not run in background)
      Specified by:
      runsInBackground in class Competency
    • cancel

      public void cancel()
      implementing cancel method to give this competency the ability to be cancelled
      Overrides:
      cancel in class Competency
    • competencyCode

      protected boolean competencyCode(HashMap<String,String> parameters) throws CompetencyCancelledException
      competency code
      Specified by:
      competencyCode in class Competency
      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)
      Throws:
      CompetencyCancelledException