edu.uiuc.ncsa.security.util.cli.Commands Maven / Gradle / Ivy
package edu.uiuc.ncsa.security.util.cli;
import edu.uiuc.ncsa.security.core.Logable;
/**
* All sets of commands implement this interface. Each command you want to have found in the interface should fulfill the
* following contract;
*
* - signature requirement: public void name({@link InputLine}
* - help requirement a protected method, suggested name is "showXHelp" where "X" is the name of th method above
*
* This means that if a user asks for help, the methods with the right signature will be displayed by the driver. All you need
* to do is implement the functionality.
* Creation date: (10/11/02 8:26:14 pm)
*
* @author Jeff Gaynor
*/
public interface Commands extends Logable{
/**
* The prompt displayed to the user. This allows it to change based on context.
* @return java.lang.String
*/
public String getPrompt();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy