Package org.cilogon.oauth2.admin
Class CounterCommands
- java.lang.Object
-
- edu.uiuc.ncsa.security.util.cli.AbstractCommandsImpl
-
- edu.uiuc.ncsa.security.util.cli.CommonCommands2
-
- org.cilogon.oauth2.admin.CounterCommands
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.Logable,edu.uiuc.ncsa.security.util.cli.Commands,Serializable
public class CounterCommands extends edu.uiuc.ncsa.security.util.cli.CommonCommands2Created by Jeff Gaynor
on 10/30/13 at 4:05 PM- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CounterCommands(edu.uiuc.ncsa.security.util.cli.CLIDriver driver, String indent, Incrementable incrementable, UserStore userStore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabout(boolean showBanner, boolean showHeader)IncrementablegetIncrementable()StringgetName()StringgetPrompt()UserStoregetUserStore()voidinitHelp()voidinitialize()voidload(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)voidnext_value(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)voidreset(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)protected voidshowNextValueHelp()protected voidshowResetHelp()-
Methods inherited from class edu.uiuc.ncsa.security.util.cli.CommonCommands2
getIOInterface, getPlaceHolder, getValue, isEmpty, isThrowExceptions, isVerbose, print_help, say2, sayii, set_output_on, set_verbose_on, setOutputOnHelp, setPlaceHolder, setThrowExceptions, setVerboseHelp, version, versionHelp
-
Methods inherited from class edu.uiuc.ncsa.security.util.cli.AbstractCommandsImpl
bootstrap, bootstrap, clear_env, clearEnvHelp, configureCommands, debug, error, error, get_env, getDriver, getHelpUtil, getInput, getLogoName, getPropertyHelp, gracefulExit, hasLogger, indentWidth, info, isDebugOn, isOk, isShowHeader, isShowLogo, print_env, printEnvHelp, printGetEnvHelp, printReadEnvHelp, printSaveEnvHelp, printSetEnvHelp, read_env, readJSON, readline, readline, save_env, say, say, sayi, sayv, set_env, setDebugOn, setDriver, setLogoName, setShowHeader, setShowLogo, showHelp, warn
-
-
-
-
Constructor Detail
-
CounterCommands
public CounterCommands(edu.uiuc.ncsa.security.util.cli.CLIDriver driver, String indent, Incrementable incrementable, UserStore userStore) throws Throwable- Throws:
Throwable
-
-
Method Detail
-
about
public void about(boolean showBanner, boolean showHeader)- Specified by:
aboutin classedu.uiuc.ncsa.security.util.cli.AbstractCommandsImpl
-
initialize
public void initialize() throws Throwable- Specified by:
initializein classedu.uiuc.ncsa.security.util.cli.AbstractCommandsImpl- Throws:
Throwable
-
load
public void load(edu.uiuc.ncsa.security.util.cli.InputLine inputLine) throws Throwable- Specified by:
loadin classedu.uiuc.ncsa.security.util.cli.AbstractCommandsImpl- Throws:
Throwable
-
initHelp
public void initHelp() throws Throwable- Overrides:
initHelpin classedu.uiuc.ncsa.security.util.cli.AbstractCommandsImpl- Throws:
Throwable
-
getUserStore
public UserStore getUserStore()
-
getIncrementable
public Incrementable getIncrementable()
-
getName
public String getName()
-
getPrompt
public String getPrompt()
-
showNextValueHelp
protected void showNextValueHelp()
-
next_value
public void next_value(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
-
showResetHelp
protected void showResetHelp()
-
reset
public void reset(edu.uiuc.ncsa.security.util.cli.InputLine inputLine) throws IOException- Throws:
IOException
-
-