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.CommonCommands2
Created 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 void
about(boolean showBanner, boolean showHeader)
Incrementable
getIncrementable()
String
getName()
String
getPrompt()
UserStore
getUserStore()
protected void
initHelp()
void
initialize()
void
load(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
void
next_value(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
void
reset(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
protected void
showNextValueHelp()
protected void
showResetHelp()
-
Methods inherited from class edu.uiuc.ncsa.security.util.cli.CommonCommands2
getIOInterface, getPlaceHolder, getValue, isEmpty, isVerbose, print_help, say2, sayii, set_output_on, set_verbose_on, setOutputOnHelp, setPlaceHolder, setVerboseHelp, version, versionHelp
-
Methods inherited from class edu.uiuc.ncsa.security.util.cli.AbstractCommandsImpl
bootstrap, bootstrap, clear_env, clearEnvHelp, 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:
about
in classedu.uiuc.ncsa.security.util.cli.AbstractCommandsImpl
-
initialize
public void initialize() throws Throwable
- Specified by:
initialize
in 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:
load
in classedu.uiuc.ncsa.security.util.cli.AbstractCommandsImpl
- Throws:
Throwable
-
initHelp
protected void initHelp() throws Throwable
- Overrides:
initHelp
in 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
-
-