All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bidib.wizard.api.notification.TimeEvent Maven / Gradle / Ivy

There is a newer version: 2.0.29
Show newest version
package org.bidib.wizard.api.notification;

import java.time.LocalDateTime;

public class TimeEvent {

    public enum TimeEventAction {
        START, UPDATE, STOP;
    }

    private final String connectionId;

    private final LocalDateTime timestamp;

    private final TimeEventAction action;

    public TimeEvent(String conncetionid, LocalDateTime timestamp, TimeEventAction action) {
        this.connectionId = conncetionid;
        this.timestamp = timestamp;
        this.action = action;
    }

    /**
     * @return the connectionId
     */
    public String getConnectionId() {
        return connectionId;
    }

    /**
     * @return the timestamp
     */
    public LocalDateTime getTimestamp() {
        return timestamp;
    }

    /**
     * @return the action
     */
    public TimeEventAction getAction() {
        return action;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy