public class PrintFunction extends SimpleCliFunction
maxArgs, minArgslog, name, spaceParser| Constructor and Description |
|---|
PrintFunction() |
| Modifier and Type | Method and Description |
|---|---|
protected Value |
apply(CliSession session,
Value[] params)
Apply this function to the given values.
|
String |
getHelpSummary() |
EnumSet<SessionMode> |
getSessionModes() |
String |
getUsage() |
applyapply, getMaxArgs, getMinArgs, parseParamsgetHelpDetail, getName, parseExpressionParams, parseNextParameterpublic String getHelpSummary()
public String getUsage()
public EnumSet<SessionMode> getSessionModes()
getSessionModes in interface FunctiongetSessionModes in class AbstractFunctionprotected Value apply(CliSession session, Value[] params)
SimpleCliFunctionapply in class SimpleCliFunctionsession - CLI sessionparams - parsed parameters; will already be checked between SimpleFunction.getMinArgs() and SimpleFunction.getMaxArgs()Copyright © 2016. All rights reserved.