Examples of ScanStatusChangeEvent


Examples of com.subgraph.vega.api.model.alerts.ScanStatusChangeEvent

  }

  @Override
  public void addScanEventListenerAndPopulate(IEventHandler listener) {
    scanAlerts.addScanEventListenerAndPopulate(listener);
    listener.handleEvent(new ScanStatusChangeEvent(this, currentPath, scanStatus, activeScanCompletedCount, activeScanTotalCount));
  }
View Full Code Here

Examples of com.subgraph.vega.api.model.alerts.ScanStatusChangeEvent

    if(currentPath != null) {
      this.currentPath = currentPath;
    }
    activeScanCompletedCount = completedCount;
    activeScanTotalCount = totalCount;
    eventManager.fireEvent(new ScanStatusChangeEvent(this, this.currentPath, scanStatus, activeScanCompletedCount, activeScanTotalCount));
  }
View Full Code Here

Examples of com.subgraph.vega.api.model.alerts.ScanStatusChangeEvent

  @Override
  public void updateScanProgress(int completedCount, int totalCount) {
    activeScanCompletedCount = completedCount;
    activeScanTotalCount = totalCount;
    eventManager.fireEvent(new ScanStatusChangeEvent(this, currentPath, scanStatus, completedCount, totalCount));
  }
View Full Code Here

Examples of com.subgraph.vega.api.model.alerts.ScanStatusChangeEvent

    if(status == SCAN_CANCELLED && isPaused) {
      isPaused = false;
    }
 
    this.scanStatus = status;
    eventManager.fireEvent(new ScanStatusChangeEvent(this, currentPath, status, activeScanCompletedCount, activeScanTotalCount));
    activate(ActivationPurpose.WRITE);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.