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.Descriptor
findDescriptor
(com.xebialabs.deployit.plugin.api.reflect.Type type) Gets theDescriptor
for 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 theDescriptors
of all the types known to the XL Deploy Type System.Lists all the Orchestrator names that can be used to orchestrate aDeployment
done by theDeploymentService
.Lists all thePermissions
that can be granted or revoked.
-
Method Details
-
listDescriptors
Lists all theDescriptors
of 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 theDescriptor
for 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 thePermissions
that can be granted or revoked.- Returns:
- A List of
Permissions
-
listOrchestrators
Lists all the Orchestrator names that can be used to orchestrate aDeployment
done by theDeploymentService
.- Returns:
- A List of orchestrator names.
-