public class ToscaTemplatesArtifactServiceImpl extends BaseArtifactServiceImpl implements ToscaTemplatesArtifactService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
ToscaTemplatesArtifactServiceImpl() |
Modifier and Type | Method and Description |
---|---|
ToscaTemplatesArtifact |
activate(String artifactId)
Activate specific artifact
|
ToscaTemplatesArtifact |
create(ToscaTemplatesArtifact toscaTemplatesArtifact)
Create artifact
|
ToscaTemplatesArtifact |
deactivate(String artifactId)
Deactivate specific artifact
|
ActionResponse |
delete(String artifactId)
Delete specific artifact
|
InputStream |
download(String artifactId)
Download template from artifact
|
ToscaTemplatesArtifact |
get(String artifactId)
Get specific artifact
|
ToscaTemplatesArtifacts |
list()
Lists all artifacts
|
ToscaTemplatesArtifact |
publish(String artifactId)
Publish specific artifact
|
ToscaTemplatesArtifact |
reactivate(String artifactId)
Reactivate specific artifact
|
ToscaTemplatesArtifact |
update(String artifactId,
List<ArtifactUpdate> artifactUpdates)
Update specific artifact
|
ToscaTemplatesArtifact |
upload(String artifactId,
File file)
Upload template to artifact
|
create, download, get, list, update, update, upload
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public ToscaTemplatesArtifacts list()
ToscaTemplatesArtifactService
list
in interface ToscaTemplatesArtifactService
public ToscaTemplatesArtifact get(String artifactId)
ToscaTemplatesArtifactService
get
in interface ToscaTemplatesArtifactService
public ToscaTemplatesArtifact create(ToscaTemplatesArtifact toscaTemplatesArtifact)
ToscaTemplatesArtifactService
create
in interface ToscaTemplatesArtifactService
public ToscaTemplatesArtifact upload(String artifactId, File file)
ToscaTemplatesArtifactService
upload
in interface ToscaTemplatesArtifactService
public InputStream download(String artifactId)
ToscaTemplatesArtifactService
download
in interface ToscaTemplatesArtifactService
public ActionResponse delete(String artifactId)
ToscaTemplatesArtifactService
delete
in interface ToscaTemplatesArtifactService
delete
in class BaseArtifactServiceImpl
public ToscaTemplatesArtifact update(String artifactId, List<ArtifactUpdate> artifactUpdates)
ToscaTemplatesArtifactService
update
in interface ToscaTemplatesArtifactService
public ToscaTemplatesArtifact activate(String artifactId)
ToscaTemplatesArtifactService
activate
in interface ToscaTemplatesArtifactService
public ToscaTemplatesArtifact deactivate(String artifactId)
ToscaTemplatesArtifactService
deactivate
in interface ToscaTemplatesArtifactService
public ToscaTemplatesArtifact reactivate(String artifactId)
ToscaTemplatesArtifactService
reactivate
in interface ToscaTemplatesArtifactService
public ToscaTemplatesArtifact publish(String artifactId)
ToscaTemplatesArtifactService
publish
in interface ToscaTemplatesArtifactService
Copyright © 2017. All rights reserved.