Class ExecutionMonitor


  • public class ExecutionMonitor
    extends Object
    Uses the ClassVisitor to dynamically instrument Java constructors and methods, i.e., during the class loading process. Receives callbacks from instrumented code that is executed during application tests. The collected information is then uploaded to the central Vulas backend using the UploadScheduler.
    • Constructor Detail

      • ExecutionMonitor

        public ExecutionMonitor()

        Constructor for ExecutionMonitor.

    • Method Detail

      • isPaused

        public static boolean isPaused()

        isPaused.

        Returns:
        a boolean.
      • setPaused

        public static void setPaused​(boolean _bool)

        setPaused.

        Parameters:
        _bool - a boolean.
      • enablePeriodicUpload

        public void enablePeriodicUpload​(long _interval,
                                         int _batch_size)

        enablePeriodicUpload.

        Parameters:
        _interval - a long.
        _batch_size - a int.
      • isPeriodicUploadEnabled

        public boolean isPeriodicUploadEnabled()

        isPeriodicUploadEnabled.

        Returns:
        a boolean.
      • getPeriodicUploadInterval

        public long getPeriodicUploadInterval()

        getPeriodicUploadInterval.

        Returns:
        a long.
      • getPeriodicUploadBatchSize

        public int getPeriodicUploadBatchSize()

        getPeriodicUploadBatchSize.

        Returns:
        a int.
      • stopGoal

        public void stopGoal()

        stopGoal.