Class BaseArtifactServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.artifact.internal.BaseArtifactServiceImpl
-
- Direct Known Subclasses:
ToscaTemplatesArtifactServiceImpl
public class BaseArtifactServiceImpl extends BaseOpenStackService
Created by vadavi on 18-01-2017.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
BaseOpenStackService.Invocation<R>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseArtifactServiceImpl(ArtifactType artifactType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> Tcreate(ToscaTemplatesArtifact toscaTemplatesArtifact, Class<T> clazz)protected ActionResponsedelete(String artifactId)protected InputStreamdownload(String artifactId, String blobName)protected <T> Tget(String artifactId, Class<T> clazz)protected <T> Tlist(Class<T> clazz)protected <T> Tupdate(String artifactId, String op, String path, String value, Class<T> clazz)protected <T> Tupdate(String artifactId, List<ArtifactUpdate> artifactUpdates, Class<T> clazz)protected <T> Tupload(String artifactId, File file, Class<T> clazz, String blobName)-
Methods inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
delete, deleteWithResponse, get, getProvider, getServiceVersion, getWithResponse, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, putWithResponse, request, toList, uri
-
-
-
-
Constructor Detail
-
BaseArtifactServiceImpl
protected BaseArtifactServiceImpl(ArtifactType artifactType)
-
-
Method Detail
-
list
protected <T> T list(Class<T> clazz)
-
create
protected <T> T create(ToscaTemplatesArtifact toscaTemplatesArtifact, Class<T> clazz)
-
download
protected InputStream download(String artifactId, String blobName)
-
delete
protected ActionResponse delete(String artifactId)
-
update
protected <T> T update(String artifactId, List<ArtifactUpdate> artifactUpdates, Class<T> clazz)
-
-