net.java.dev.vcc.api
Interface CapabilityProfile

All Known Subinterfaces:
Datacenter
All Known Implementing Classes:
AbstractDatacenter, BasicProfile

public interface CapabilityProfile

Describes the capabilities of a Datacenter.


Method Summary
 java.util.Set<java.lang.Class<? extends Command>> getCommands(java.lang.Class<? extends ManagedObject> managedObjectClass)
          Returns the types of Command that are supported against a specific type of ManagedObject.
 java.util.Set<java.lang.Class<? extends ManagedObject>> getObjectClasses()
          Returns the types of ManagedObject that are available.
 boolean supports(CapabilityProfile that)
          Returns true if this CapabilityProfile supports a superset of the supplied CapabilityProfile.
 

Method Detail

getCommands

java.util.Set<java.lang.Class<? extends Command>> getCommands(java.lang.Class<? extends ManagedObject> managedObjectClass)
Returns the types of Command that are supported against a specific type of ManagedObject.

Parameters:
managedObjectClass - The type of ManagedObject.
Returns:
The types of Command that are supported on the ManagedObject

getObjectClasses

java.util.Set<java.lang.Class<? extends ManagedObject>> getObjectClasses()
Returns the types of ManagedObject that are available.

Returns:
the types of ManagedObject that are available.

supports

boolean supports(CapabilityProfile that)
Returns true if this CapabilityProfile supports a superset of the supplied CapabilityProfile.

Parameters:
that - The CapabilityProfile which might be a subset of this.
Returns:
true if this CapabilityProfile supports a superset of the supplied CapabilityProfile.


Copyright © 2009. All Rights Reserved.