Package org.apache.felix.gogo.shell
Class Procedural
java.lang.Object
org.apache.felix.gogo.shell.Procedural
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_if
(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function[] fns) void
void
void
_throw
(org.apache.felix.service.command.CommandSession session) _try
(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function func) _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) each
(org.apache.felix.service.command.CommandSession session, Collection<Object> list, org.apache.felix.service.command.Function closure) boolean
not
(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function condition) void
until
(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function condition, org.apache.felix.service.command.Function ifTrue)
-
Constructor Details
-
Procedural
public Procedural()
-
-
Method Details
-
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
-
_throw
- Throws:
Exception
-
_throw
- Throws:
Throwable
-
_try
public Object _try(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function func) throws Exception - Throws:
Exception
-
_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
-
until
public void until(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
-