Module colesico.framework.pebble
Class GetNamedBeanFunction
java.lang.Object
colesico.framework.pebble.internal.GetNamedBeanFunction
- All Implemented Interfaces:
com.mitchellbosecke.pebble.extension.Function,com.mitchellbosecke.pebble.extension.NamedArguments
public class GetNamedBeanFunction
extends java.lang.Object
implements com.mitchellbosecke.pebble.extension.Function
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFUNCTION_NAME -
Constructor Summary
Constructors Constructor Description GetNamedBeanFunction(colesico.framework.ioc.Ioc ioc) -
Method Summary
Modifier and Type Method Description java.lang.Objectexecute(java.util.Map<java.lang.String,java.lang.Object> args, com.mitchellbosecke.pebble.template.PebbleTemplate pebbleTemplate, com.mitchellbosecke.pebble.template.EvaluationContext context, int lineNumber)java.util.List<java.lang.String>getArgumentNames()
-
Field Details
-
FUNCTION_NAME
public static final java.lang.String FUNCTION_NAME- See Also:
- Constant Field Values
-
-
Constructor Details
-
GetNamedBeanFunction
public GetNamedBeanFunction(colesico.framework.ioc.Ioc ioc)
-
-
Method Details
-
execute
public java.lang.Object execute(java.util.Map<java.lang.String,java.lang.Object> args, com.mitchellbosecke.pebble.template.PebbleTemplate pebbleTemplate, com.mitchellbosecke.pebble.template.EvaluationContext context, int lineNumber)- Specified by:
executein interfacecom.mitchellbosecke.pebble.extension.Function
-
getArgumentNames
public java.util.List<java.lang.String> getArgumentNames()- Specified by:
getArgumentNamesin interfacecom.mitchellbosecke.pebble.extension.NamedArguments
-