@Path(value="runtime")
public interface RuntimeProvisioningService
| Modifier and Type | Method and Description |
|---|---|
void |
destroyRuntime(String runtimeId) |
ProviderList |
getProviders(Integer page,
Integer pageSize,
String sort,
boolean sortOrder) |
ProviderTypeList |
getProviderTypes(Integer page,
Integer pageSize,
String sort,
boolean sortOrder) |
RuntimeList |
getRuntimes(Integer page,
Integer pageSize,
String sort,
boolean sortOrder) |
String |
newRuntime(RuntimeConfig conf) |
void |
registerProvider(ProviderConfig conf) |
void |
restartRuntime(String runtimeId) |
void |
startRuntime(String runtimeId) |
void |
stopRuntime(String runtimeId) |
void |
unregisterProvider(String name) |
@GET @Consumes(value="application/json") @Produces(value="application/json") @Path(value="providertypes") ProviderTypeList getProviderTypes(@QueryParam(value="page") @DefaultValue(value="0") Integer page, @QueryParam(value="pageSize") @DefaultValue(value="10") Integer pageSize, @QueryParam(value="sort") String sort, @QueryParam(value="sortOrder") @DefaultValue(value="true") boolean sortOrder) throws BusinessException
BusinessException@GET @Produces(value="application/json") @Path(value="providers") ProviderList getProviders(@QueryParam(value="page") @DefaultValue(value="0") Integer page, @QueryParam(value="pageSize") @DefaultValue(value="10") Integer pageSize, @QueryParam(value="sort") String sort, @QueryParam(value="sortOrder") @DefaultValue(value="true") boolean sortOrder) throws BusinessException
BusinessException@POST
@Consumes(value="application/json")
@Path(value="providers")
void registerProvider(@NotNull
ProviderConfig conf)
throws BusinessException
BusinessException@DELETE
@Path(value="providers")
void unregisterProvider(@FormParam(value="name")
String name)
throws BusinessException
BusinessException@POST @Path(value="runtimes/") @Consumes(value="application/json") @Produces(value="application/json") String newRuntime(@NotNull RuntimeConfig conf) throws BusinessException
BusinessException@DELETE
@Consumes(value="application/json")
@Path(value="runtimes/{id}")
void destroyRuntime(@PathParam(value="id")
String runtimeId)
throws BusinessException
BusinessException@GET @Produces(value="application/json") @Path(value="runtimes/") RuntimeList getRuntimes(@QueryParam(value="page") @DefaultValue(value="0") Integer page, @QueryParam(value="pageSize") @DefaultValue(value="10") Integer pageSize, @QueryParam(value="sort") String sort, @QueryParam(value="sortOrder") @DefaultValue(value="true") boolean sortOrder) throws BusinessException
BusinessException@POST
@Path(value="runtimes/{id}/state")
void startRuntime(@PathParam(value="id")
String runtimeId)
throws BusinessException
BusinessException@DELETE
@Path(value="runtimes/{id}/state")
void stopRuntime(@PathParam(value="id")
String runtimeId)
throws BusinessException
BusinessException@PUT
@Path(value="runtimes/{id}/state")
void restartRuntime(@PathParam(value="id")
String runtimeId)
throws BusinessException
BusinessExceptionCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.