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

com.evento.common.modeling.messaging.payload.Invocation Maven / Gradle / Ivy

The newest version!
package com.evento.common.modeling.messaging.payload;

import java.util.HashMap;

/**
 * The Invocation class extends the Payload class and represents an invocation of a method. It stores the method arguments
 * in a HashMap.
 */
public class Invocation implements Payload {

	private HashMap arguments = new HashMap<>();

	/**
	 * The `Invocation` class represents an invocation of a method. It stores the method arguments in a HashMap.
	 */
	public Invocation() {
	}

	/**
	 * Retrieves the arguments stored in the HashMap.
	 *
	 * @return the HashMap containing the method arguments
	 */
	public HashMap getArguments() {
		return arguments;
	}

	/**
	 * Sets the arguments for the invocation.
	 *
	 * @param arguments a HashMap containing the method arguments
	 */
	public void setArguments(HashMap arguments) {
		this.arguments = arguments;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy