Package com.subgraph.vega.api.model.alerts

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


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

  @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

    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

Related Classes of com.subgraph.vega.api.model.alerts.ScanStatusChangeEvent

Copyright © 2018 www.massapicom. 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.