com.xebialabs.deployit.engine.api
Interface MetadataService


public interface MetadataService

Provides Deployit's metadata: available types, permissions and orchestrators.


Method Summary
 com.xebialabs.deployit.plugin.api.reflect.Descriptor findDescriptor(com.xebialabs.deployit.plugin.api.reflect.Type type)
          Gets the Descriptor for a specific type from the Deployit Type System.
 java.util.List<com.xebialabs.deployit.plugin.api.reflect.Descriptor> listDescriptors()
          Lists all the Descriptors of all the types known to the Deployit Type System.
 java.util.List<java.lang.String> listOrchestrators()
          Lists all the Orchestrator names that can be used to orchestrate a Deployment done by the DeploymentService.
 java.util.List<Permission> listPermissions()
          Lists all the Permissions that can be granted or revoked.
 

Method Detail

listDescriptors

java.util.List<com.xebialabs.deployit.plugin.api.reflect.Descriptor> listDescriptors()
Lists all the Descriptors of all the types known to the Deployit Type System. Hidden properties are not exposed.

Returns:
A List of Descriptors

findDescriptor

com.xebialabs.deployit.plugin.api.reflect.Descriptor findDescriptor(com.xebialabs.deployit.plugin.api.reflect.Type type)
Gets the Descriptor for a specific type from the Deployit Type System.

Parameters:
type - the type to get the descriptor of.
Returns:
The descriptor matching the type

listPermissions

java.util.List<Permission> listPermissions()
Lists all the Permissions that can be granted or revoked.

Returns:
A List of Permissions

listOrchestrators

java.util.List<java.lang.String> listOrchestrators()
Lists all the Orchestrator names that can be used to orchestrate a Deployment done by the DeploymentService.

Returns:
A List of orchestrator names.