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


public interface DiscoveryFactory

Factory for creating objects that are required by the DDM Services.


Method Summary
 ErrorsFilter createErrorFilter()
          Returns a new ErrorFilter object.
 NetworkRange createNetworkRange()
          Returns a new NetworkRange object.
 NetworkRange createNetworkRange(java.lang.String startIP, java.lang.String endIP)
          Returns a new NetworkRange with the specified IP range.
 SoftwareSignature createSignature(java.lang.String softwareId)
          Returns a new SoftwareSignature object.
 SoftwareSignature createSignature(java.lang.String softwareId, java.lang.String softwareName)
          Returns a new SoftwareSignature object.
 SoftwareSignature createSignature(java.lang.String softwareId, java.lang.String softwareName, java.lang.String category)
          Returns a new SoftwareSignature object.
 TimeFrame createTimeFrame()
          Returns a new TimeFrame object.
 TimeInterval createTimeInterval()
          Returns a new TimeInterval object.
 

Method Detail

createTimeFrame

TimeFrame createTimeFrame()
Returns a new TimeFrame object.

Returns:
a new TimeFrame object.

createTimeInterval

TimeInterval createTimeInterval()
Returns a new TimeInterval object.

Returns:
a new TimeInterval object.

createNetworkRange

NetworkRange createNetworkRange()
Returns a new NetworkRange object.

Returns:
a new NetworkRange object.

createNetworkRange

NetworkRange createNetworkRange(java.lang.String startIP,
                                java.lang.String endIP)
Returns a new NetworkRange with the specified IP range. The startIP must be lower than the endIP.

Parameters:
startIP - the first IP of this range in valid IPv4 format ("x.x.x.x").
endIP - the last IP of this range in valid IPv4 format ("x.x.x.x").
Returns:
new NetworkRange

createErrorFilter

ErrorsFilter createErrorFilter()
Returns a new ErrorFilter object.

Returns:
a new ErrorFilter object.

createSignature

SoftwareSignature createSignature(java.lang.String softwareId,
                                  java.lang.String softwareName,
                                  java.lang.String category)
Returns a new SoftwareSignature object. The softwareId of SoftwareSignature must be unique.

Parameters:
softwareId - the softwareId of the new SoftwareSignature.
softwareName - the name of the software.
category - the category of this software SoftwareSignature. A category is any application-defined string. The UCMDB does not use this string.
Returns:
a new SoftwareSignature object.

createSignature

SoftwareSignature createSignature(java.lang.String softwareId,
                                  java.lang.String softwareName)
Returns a new SoftwareSignature object. The signatureId of SoftwareSignature must be unique. The category of the software signature is null.

Parameters:
softwareId - the softwareId of the new SoftwareSignature.
softwareName - the name of the software.
Returns:
a new SoftwareSignature object.

createSignature

SoftwareSignature createSignature(java.lang.String softwareId)
Returns a new SoftwareSignature object. The software name is set to the same value as the softwareId. The signatureId of SoftwareSignature must be unique. The category of the software signature is null.

Parameters:
softwareId - the softwareId of the new signature.
Returns:
a new SoftwareSignature object.


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