Package org.apache.felix.gogo.shell
Class Procedural
- java.lang.Object
-
- org.apache.felix.gogo.shell.Procedural
-
public class Procedural extends Object
-
-
Constructor Summary
Constructors Constructor Description Procedural()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object_if(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function[] fns)void_throw(Exception e)void_throw(String message)void_throw(org.apache.felix.service.command.CommandSession session)Object_try(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function func)Object_try(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function func, org.apache.felix.service.command.Function error)void_while(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function condition, org.apache.felix.service.command.Function ifTrue)List<Object>each(org.apache.felix.service.command.CommandSession session, Collection<Object> list, org.apache.felix.service.command.Function closure)booleannot(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function condition)voiduntil(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function condition, org.apache.felix.service.command.Function ifTrue)
-
-
-
Method Detail
-
each
public List<Object> each(org.apache.felix.service.command.CommandSession session, Collection<Object> list, org.apache.felix.service.command.Function closure) throws Exception
- Throws:
Exception
-
_if
public Object _if(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function[] fns) throws Exception
- Throws:
Exception
-
not
public boolean not(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function condition) throws Exception- Throws:
Exception
-
_throw
public void _throw(String message)
-
_throw
public void _throw(org.apache.felix.service.command.CommandSession session) throws Throwable- Throws:
Throwable
-
_try
public Object _try(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function func)
-
_try
public Object _try(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function func, org.apache.felix.service.command.Function error) throws Exception
- Throws:
Exception
-
_while
public void _while(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function condition, org.apache.felix.service.command.Function ifTrue) throws Exception- Throws:
Exception
-
-