com.xebialabs.deployit.core.rest.api
Class PackageResource
java.lang.Object
com.xebialabs.deployit.core.rest.secured.AbstractSecuredResource
com.xebialabs.deployit.core.rest.api.PackageResource
- All Implemented Interfaces:
- com.xebialabs.deployit.engine.api.PackageService
@Controller
public class PackageResource
- extends AbstractSecuredResource
- implements com.xebialabs.deployit.engine.api.PackageService
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 |
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem |
fetch(java.lang.String url)
|
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem |
importPackage(java.lang.String file)
|
java.util.List<java.lang.String> |
list()
|
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem |
upload(java.lang.String file,
com.xebialabs.deployit.engine.api.dto.FileUpload form)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PackageResource
public PackageResource()
list
public java.util.List<java.lang.String> list()
- Specified by:
list in interface com.xebialabs.deployit.engine.api.PackageService
importPackage
public com.xebialabs.deployit.plugin.api.udm.ConfigurationItem importPackage(java.lang.String file)
- Specified by:
importPackage in interface com.xebialabs.deployit.engine.api.PackageService
fetch
public com.xebialabs.deployit.plugin.api.udm.ConfigurationItem fetch(java.lang.String url)
- Specified by:
fetch in interface com.xebialabs.deployit.engine.api.PackageService
upload
public com.xebialabs.deployit.plugin.api.udm.ConfigurationItem upload(java.lang.String file,
com.xebialabs.deployit.engine.api.dto.FileUpload form)
- Specified by:
upload in interface com.xebialabs.deployit.engine.api.PackageService