Interface MetadataService
@Path("/metadata")
@Consumes({"application/xml","application/json"})
@Produces({"application/xml","application/json"})
public interface MetadataService
Provides XL Deploy's metadata: available types, permissions and orchestrators.
-
Method Summary
Modifier and TypeMethodDescriptioncom.xebialabs.deployit.plugin.api.reflect.DescriptorfindDescriptor(com.xebialabs.deployit.plugin.api.reflect.Type type) Gets theDescriptorfor a specific type from the XL Deploy Type System.Creates a map of the parent/child relationships of all the types known to the XL Deploy Type System.List<com.xebialabs.deployit.plugin.api.reflect.Descriptor>Lists all theDescriptorsof all the types known to the XL Deploy Type System.Lists all the Orchestrator names that can be used to orchestrate aDeploymentdone by theDeploymentService.Lists all thePermissionsthat can be granted or revoked.
-
Method Details
-
listDescriptors
Lists all theDescriptorsof all the types known to the XL Deploy Type System. Hidden properties are not exposed.- Returns:
- A List of
Descriptors
-
inheritance
Creates a map of the parent/child relationships of all the types known to the XL Deploy Type System.- Returns:
- A Map of descriptor type name to list of children types.
-
findDescriptor
@GET @Path("type/{type}") com.xebialabs.deployit.plugin.api.reflect.Descriptor findDescriptor(@PathParam("type") com.xebialabs.deployit.plugin.api.reflect.Type type) Gets theDescriptorfor a specific type from the XL Deploy Type System.- Parameters:
type- the type to get the descriptor of.- Returns:
- The descriptor matching the type
-
listPermissions
Lists all thePermissionsthat can be granted or revoked.- Returns:
- A List of
Permissions
-
listOrchestrators
Lists all the Orchestrator names that can be used to orchestrate aDeploymentdone by theDeploymentService.- Returns:
- A List of orchestrator names.
-