Class Event

  • Direct Known Subclasses:
    AutoValue_Event

    public abstract class Event
    extends java.lang.Object
    • Constructor Detail

      • Event

        public Event()
    • Method Detail

      • status

        @Deprecated
        @Nullable
        public abstract java.lang.String status()
        Deprecated.
        Use action() instead
        Event status.
        Returns:
        status
      • id

        @Deprecated
        @Nullable
        public abstract java.lang.String id()
        Deprecated.
        Use the Event.Actor.id() field from actor()
        Event actor id. When the event type is "container" this is the container id.
        Returns:
        id
      • from

        @Deprecated
        @Nullable
        public abstract java.lang.String from()
        Deprecated.
        Use the "image" attribute in the Event.Actor.attributes() map from actor()
        When the event type is "container" this is the image id.
        Returns:
        from
      • type

        @Nullable
        public abstract Event.Type type()
      • action

        @Nullable
        public abstract java.lang.String action()
        Event action.
        Returns:
        action
        Since:
        API 1.22
      • time

        public abstract java.util.Date time()
      • timeNano

        @Nullable
        public abstract java.lang.Long timeNano()
      • create

        static Event create​(java.lang.String status,
                            java.lang.String id,
                            java.lang.String from,
                            Event.Type type,
                            java.lang.String action,
                            Event.Actor actor,
                            java.util.Date time,
                            java.lang.Long timeNano)