nextgrid.api.pem
Class DiscoveryEvent

java.lang.Object
  extended by nextgrid.api.pem.POMEvent
      extended by nextgrid.api.pem.DiscoveryEvent

public final class DiscoveryEvent
extends POMEvent

Encapsulates information about a discovery-related event.

Author:
Rodrigo Ruiz

Constructor Summary
DiscoveryEvent(ProcessDiscoverer discoverer)
          Creates an instance.
DiscoveryEvent(ProcessDiscoverer discoverer, Process process)
          Creates an instance.
DiscoveryEvent(ProcessDiscoverer discoverer, Process process, java.util.List<Process> candidates)
          Creates an instance.
DiscoveryEvent(ProcessDiscoverer discoverer, Process process, java.util.List<Process> candidates, DiscoveryException exception)
          Creates an instance.
 
Method Summary
 java.util.List<Process> getCandidates()
          Gets the value of candidates.
 ProcessDiscoverer getDiscoverer()
          Gets the value of discoverer.
 DiscoveryException getException()
          Gets the value of exception.
 
Methods inherited from class nextgrid.api.pem.POMEvent
getProcess, getTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscoveryEvent

public DiscoveryEvent(ProcessDiscoverer discoverer)
Creates an instance.

Parameters:
discoverer - The discoverer instance

DiscoveryEvent

public DiscoveryEvent(ProcessDiscoverer discoverer,
                      Process process)
Creates an instance.

Parameters:
discoverer - The discoverer instance
process - The process being discovered, if apply

DiscoveryEvent

public DiscoveryEvent(ProcessDiscoverer discoverer,
                      Process process,
                      java.util.List<Process> candidates)
Creates an instance.

Parameters:
discoverer - The discoverer instance
process - The process being discovered, if apply
candidates - The list of candidates, if apply

DiscoveryEvent

public DiscoveryEvent(ProcessDiscoverer discoverer,
                      Process process,
                      java.util.List<Process> candidates,
                      DiscoveryException exception)
Creates an instance.

Parameters:
discoverer - The discoverer instance
process - The process being discovered, if apply
candidates - The list of candidates, if apply
exception - The exception thrown, if apply
Method Detail

getCandidates

public java.util.List<Process> getCandidates()
Gets the value of candidates.

Returns:
the candidates

getDiscoverer

public ProcessDiscoverer getDiscoverer()
Gets the value of discoverer.

Returns:
the discoverer

getException

public DiscoveryException getException()
Gets the value of exception.

Returns:
the exception


Copyright © 2006-2008 Grid Systems, S.A.. All Rights Reserved.