Class EventsServiceImpl

  • All Implemented Interfaces:
    EventsService

    public class EventsServiceImpl
    extends BaseHeatServices
    implements EventsService
    This class implements some methods for manipulation of HeatEvent objects. The non-exhaustive list of methods is oriented along http://developer.openstack.org/api-ref-orchestration-v1.html#stacks
    Author:
    Octopus Zhang
    • Constructor Detail

      • EventsServiceImpl

        public EventsServiceImpl()
    • Method Detail

      • list

        public List<? extends Event> list​(String stackName,
                                          String stackId)
        Description copied from interface: EventsService
        Gets a list of currently existing Events for a specified stack.
        Specified by:
        list in interface EventsService
        Parameters:
        stackName - The name of a stack
        stackId - 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: EventsService
        Gets a list of currently existing Events for a specified stack resource.
        Specified by:
        list in interface EventsService
        Parameters:
        stackName - The name of a stack
        stackId - The unique identifier for a stack
        resourceName - 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: EventsService
        Shows details for a specified event.
        Specified by:
        show in interface EventsService
        Parameters:
        stackName - The name of a stack
        stackId - The unique identifier for a stack
        resourceName - The name of a resource in the stack
        eventId - The unique identifier of an event related to the resource in the stack
        Returns:
        event details