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

pl.setblack.airomem.core.ContextCommand Maven / Gradle / Ivy

The newest version!
/* Copyright (c) Jarek Ratajski, Licensed under the Apache License, Version 2.0
 * http://www.apache.org/licenses/LICENSE-2.0 */
package pl.setblack.airomem.core;

import java.io.Serializable;

/**
 * Command interface for all operations that mutate system.
 * 

* Implement command (classic class or lambda) and pass to persistence * Controller. * * @author jarekr */ @FunctionalInterface public interface ContextCommand extends Serializable { /** * @param system reference to mutable system * @param context context info (such as date) */ R execute(T system, PrevalanceContext context); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy