nyla.solutions.global.patterns.aop.Advice Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nyla.solutions.global Show documentation
Show all versions of nyla.solutions.global Show documentation
Nyla Solutions Global Java API provides support for basic application
utilities (application configuration, data encryption, debugger and text
processing).
The newest version!
package nyla.solutions.global.patterns.aop;
import nyla.solutions.global.patterns.command.Command;
import nyla.solutions.global.patterns.command.commas.CommandFacts;
/**
* Aspect similar to AOP based
* @author Gregory Green
*
*/
public interface Advice
{
/**
* Before advice in the form a command
* @return
*/
Command,?> getBeforeCommand();
/**
* After advice in the form a command
* @return
*/
Command,?> getAfterCommand();
/**
*
* @return the function facts
*/
CommandFacts getFacts();
/**
*
* @param facts the function facts
*/
void setFacts(CommandFacts facts);
}