public class RepositoryEndpoint extends Object implements RepositoryService
SERVICE_QNAME, TARGET_NAMESPACE| Constructor and Description |
|---|
RepositoryEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
String |
addArchive(PatchMetadataAdapter metadata,
DataHandler dataHandler,
boolean force) |
String |
getLatestAvailable(String prefix) |
PatchAdapter |
getPatch(String patchId) |
SmartPatchAdapter |
getSmartPatch(PatchAdapter seedPatch,
String patchId) |
void |
postConstruct() |
String[] |
queryAvailable(String prefix) |
boolean |
removeArchive(String patchId) |
@PostConstruct public void postConstruct()
public String[] queryAvailable(String prefix)
queryAvailable in interface RepositoryServicepublic String getLatestAvailable(String prefix)
getLatestAvailable in interface RepositoryServicepublic PatchAdapter getPatch(String patchId)
getPatch in interface RepositoryServicepublic String addArchive(PatchMetadataAdapter metadata, DataHandler dataHandler, boolean force) throws IOException
addArchive in interface RepositoryServiceIOExceptionpublic boolean removeArchive(String patchId)
removeArchive in interface RepositoryServicepublic SmartPatchAdapter getSmartPatch(PatchAdapter seedPatch, String patchId)
getSmartPatch in interface RepositoryServiceCopyright © 2017. All rights reserved.