Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[hyades-dev] [Important] Proposed change to the IExecutor interface


In order to support the Control Event use-cases  (i.e.   Pause/Resume for test execution),  I'd like to propose a change to the IExecutor interface.  Two new methods to be added are shown below.

public interface IExecutor extends IExecutionComponent {
        /**
         * Returns a boolean specifying whether the control event specified is supported.
         *
         * @param controlEvent Contol Event in question.
         * @return Specifies whether the control event is supported.
         */
        boolean supportsControlEvent(String controlEvent);
       
        /**
         * Performs the control event specified.
         *
         * @param controlEvent Contol Event to perform.
         * @return Error Message if error occurred.  Otherwise null.
         */
        public String performControlEvent(String controlEvent);        
}

Please speak up if anyone has an objection to this change.   Although creating another interface is an option, if there is no other consumer of this interface yet, it will just be cleaner to modify it.

Thank you in advance,

Sung-Jun Pak

Back to the top