Class ProtocolDiscoveryImportRequestEvent


public class ProtocolDiscoveryImportRequestEvent extends RealmScopedEvent
Initiates a protocol discovery import (either instance or asset discovery depending on isAssetDiscovery()); for a given client only one discovery process can be running at a time so any already running discovery process will be stopped.
  • Field Details

    • agentDescriptor

      protected String agentDescriptor
    • assetId

      protected String assetId
    • assetDiscovery

      protected boolean assetDiscovery
  • Constructor Details

    • ProtocolDiscoveryImportRequestEvent

      public ProtocolDiscoveryImportRequestEvent(String realm, String agentDescriptor, String assetId, boolean assetDiscovery)
  • Method Details

    • getAgentDescriptor

      public String getAgentDescriptor()
    • getAssetId

      public String getAssetId()
      If isAssetDiscovery() then this should be the ID of the Agent on which Asset discovery should be initiated. Otherwise this should be the ID of the parent Asset under which the discovered Agent would be created.
    • isAssetDiscovery

      public boolean isAssetDiscovery()