nyla.solutions.global.patterns.command.commas.Shell 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.command.commas;
import java.util.Collection;
import nyla.solutions.global.patterns.command.Command;
public interface Shell
{
/**
* Crate name
*/
public String getName();
/**
*
* @param functionName the function to retrieve
* @return the function
*/
public Command getCommand(String commandName);
/**
* Execute a function call
* @param functionName the function to execute
* @param request the input argument to the function
* @return the return object of the function call
*/
public Object executeCommand(String commandName, Object request);
/**
*
* @param functionName the function to retrieve
* @return the function
*/
public Command getCommand(String commmanName, Object context);
/**
*
* @return list all functions for this service
*/
public Collection> getCommands();
}