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

ch.squaredesk.nova.events.DispatchContext Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) Squaredesk GmbH and Oliver Dotzauer.
 *
 * This program is distributed under the squaredesk open source license. See the LICENSE file
 * distributed with this work for additional information regarding copyright ownership. You may also
 * obtain a copy of the license at
 *
 *   https://squaredesk.ch/license/oss/LICENSE
 */

package ch.squaredesk.nova.events;

import java.util.Arrays;

class DispatchContext {
    public final Object event;
    public final Object[] data;

    DispatchContext(Object event, Object[] data) {
        this.event = event;
        this.data = data;
    }


    @Override
    public String toString() {
        return "DispatchContext [event=" + event
                + ", data=" + Arrays.toString(data)
                + "]";
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy