Class TestCompetency8

  • All Implemented Interfaces:
    java.lang.Runnable

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

      • TestCompetency8

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

      • 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​(java.util.HashMap<java.lang.String,​java.lang.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