public interface MarketplaceServiceInternal
| Modifier and Type | Field and Description |
|---|---|
static String |
HEADER_JAVA_VERSION |
static String |
HEADER_OS_ARCH |
static String |
HEADER_OS_NAME |
static String |
HEADER_OS_VERSION |
static String |
HEADER_STUDIO_BUILD |
static String |
HEADER_STUDIO_ID |
static String |
HEADER_STUDIO_VERSION |
| Modifier and Type | Method and Description |
|---|---|
void |
createSite(CreateSiteRequest request)
Creates a site using the given blueprint
|
Map<String,Object> |
searchPlugins(String type,
String keywords,
boolean showIncompatible,
long offset,
long limit)
Performs a search for all available plugins that match the given filters
|
static final String HEADER_STUDIO_ID
static final String HEADER_STUDIO_BUILD
static final String HEADER_STUDIO_VERSION
static final String HEADER_JAVA_VERSION
static final String HEADER_OS_NAME
static final String HEADER_OS_VERSION
static final String HEADER_OS_ARCH
Map<String,Object> searchPlugins(String type, String keywords, boolean showIncompatible, long offset, long limit) throws MarketplaceException
type - the type of plugins to searchkeywords - the keywords to filter pluginsshowIncompatible - indicates if incompatible plugins should be returnedoffset - the offset for paginationlimit - the limit for paginationMarketplaceException - if there is any error performing the searchvoid createSite(CreateSiteRequest request) throws RemoteRepositoryNotFoundException, InvalidRemoteRepositoryException, RemoteRepositoryNotBareException, InvalidRemoteUrlException, ServiceLayerException, InvalidRemoteRepositoryCredentialsException
request - the site informationRemoteRepositoryNotFoundException - if there is an error with the remote repositoryInvalidRemoteRepositoryException - if there is an error with the remote repositoryRemoteRepositoryNotBareException - if there is an error with the remote repositoryInvalidRemoteUrlException - if there is an error with the remote repositoryServiceLayerException - if there is any unexpected errorInvalidRemoteRepositoryCredentialsException - if there is any error with the credentialsCopyright © 2020 CrafterCMS. All rights reserved.