com.xebialabs.deployit.core.rest.api
Class ImportablePackageResource
java.lang.Object
com.xebialabs.deployit.core.rest.secured.AbstractSecuredResource
com.xebialabs.deployit.core.rest.api.ImportablePackageResource
- All Implemented Interfaces:
- com.xebialabs.deployit.core.api.ImportablePackageProxy
@Controller
public class ImportablePackageResource
- extends AbstractSecuredResource
- implements com.xebialabs.deployit.core.api.ImportablePackageProxy
I am A REST resource that exposes functionality on the Deployable packages.
Functionality includes: - Listing all Deployment packages in the importablePackages directory on the server.
|
Method Summary |
javax.ws.rs.core.Response |
importPackage(java.lang.String file)
|
javax.ws.rs.core.Response |
importPackageFromUrl(java.lang.String url)
|
javax.ws.rs.core.Response |
importUploadedPackage(java.lang.String file,
com.xebialabs.deployit.core.api.dto.FileUpload form)
|
javax.ws.rs.core.Response |
list()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImportablePackageResource
public ImportablePackageResource()
list
public javax.ws.rs.core.Response list()
- Specified by:
list in interface com.xebialabs.deployit.core.api.ImportablePackageProxy
importPackage
public javax.ws.rs.core.Response importPackage(java.lang.String file)
- Specified by:
importPackage in interface com.xebialabs.deployit.core.api.ImportablePackageProxy
importPackageFromUrl
public javax.ws.rs.core.Response importPackageFromUrl(java.lang.String url)
- Specified by:
importPackageFromUrl in interface com.xebialabs.deployit.core.api.ImportablePackageProxy
importUploadedPackage
public javax.ws.rs.core.Response importUploadedPackage(java.lang.String file,
com.xebialabs.deployit.core.api.dto.FileUpload form)
- Specified by:
importUploadedPackage in interface com.xebialabs.deployit.core.api.ImportablePackageProxy