com.hp.ucmdb.api.discovery.types
Interface ContextFactory


public interface ContextFactory

Factory for creating DiscoveryContext objects.


Method Summary
 DiscoveryContext createCIsContext(java.util.Collection<UcmdbId> cIsId)
          Returns a DiscoveryContext defined by a collection of discovered CIs.
 DiscoveryContext createJobsContext(java.util.Collection<java.lang.String> jobs)
          Returns a DiscoveryContext defined by a collection of jobs.
 DiscoveryContext createNetworkRangeContext(NetworkRange range)
          Returns a DiscoveryContext defined by a range of IPs.
 

Method Detail

createNetworkRangeContext

DiscoveryContext createNetworkRangeContext(NetworkRange range)
Returns a DiscoveryContext defined by a range of IPs.

Parameters:
range - a NetworkRange that defines this DiscoveryContext.
Returns:
a new DiscoveryContext.

createCIsContext

DiscoveryContext createCIsContext(java.util.Collection<UcmdbId> cIsId)
Returns a DiscoveryContext defined by a collection of discovered CIs.

Parameters:
cIsId - The collection of UcmdbId that defines this DiscoveryContext.
Returns:
a new DiscoveryContext.

createJobsContext

DiscoveryContext createJobsContext(java.util.Collection<java.lang.String> jobs)
Returns a DiscoveryContext defined by a collection of jobs.

Parameters:
jobs - The collection of jobs which defines this DiscoveryContext.
Returns:
a new DiscoveryContext.


Documentation Feedback
Copyright 2010 Hewlett-Packard Development Company, L.P.