Class EventsServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.heat.internal.BaseHeatServices
-
- org.openstack4j.openstack.heat.internal.EventsServiceImpl
-
- All Implemented Interfaces:
EventsService
public class EventsServiceImpl extends BaseHeatServices implements EventsService
This class implements some methods for manipulation ofHeatEventobjects. The non-exhaustive list of methods is oriented along http://developer.openstack.org/api-ref-orchestration-v1.html#stacks- Author:
- Octopus Zhang
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
BaseOpenStackService.Invocation<R>
-
-
Constructor Summary
Constructors Constructor Description EventsServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<? extends Event>list(String stackName, String stackId)Gets a list of currently existingEvents for a specified stack.List<? extends Event>list(String stackName, String stackId, String resourceName)Gets a list of currently existingEvents for a specified stack resource.Eventshow(String stackName, String stackId, String resourceName, String eventId)Shows details for a specified event.-
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
-
-
-
-
Method Detail
-
list
public List<? extends Event> list(String stackName, String stackId)
Description copied from interface:EventsServiceGets a list of currently existingEvents for a specified stack.- Specified by:
listin interfaceEventsService- Parameters:
stackName- The name of a stackstackId- The unique identifier for a stack- Returns:
- the list of
Events
-
list
public List<? extends Event> list(String stackName, String stackId, String resourceName)
Description copied from interface:EventsServiceGets a list of currently existingEvents for a specified stack resource.- Specified by:
listin interfaceEventsService- Parameters:
stackName- The name of a stackstackId- The unique identifier for a stackresourceName- The name of a resource in the stack- Returns:
- the list of
Events
-
show
public Event show(String stackName, String stackId, String resourceName, String eventId)
Description copied from interface:EventsServiceShows details for a specified event.- Specified by:
showin interfaceEventsService- Parameters:
stackName- The name of a stackstackId- The unique identifier for a stackresourceName- The name of a resource in the stackeventId- The unique identifier of an event related to the resource in the stack- Returns:
- event details
-
-