|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.shell.core.CliOptionContext
public final class CliOptionContext
Utility methods relating to shell option contexts
Method Summary | |
---|---|
static String |
getOptionContext()
Returns the option context for the current thread. |
static void |
resetOptionContext()
Resets the option context for the current thread. |
static void |
setOptionContext(String optionContext)
Stores the given option context for the current thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getOptionContext()
null
if none has been setpublic static void setOptionContext(String optionContext)
optionContext
- the option context to storepublic static void resetOptionContext()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |