public class Procedural extends Object
| Constructor | Description |
|---|---|
Procedural() |
| 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) |
|
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) |
public List<Object> each(org.apache.felix.service.command.CommandSession session, Collection<Object> list, org.apache.felix.service.command.Function closure) throws Exception
Exceptionpublic Object _if(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function[] fns) throws Exception
Exceptionpublic boolean not(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Function condition)
throws Exception
Exceptionpublic void _throw(String message)
public void _throw(org.apache.felix.service.command.CommandSession session)
throws Throwable
Throwablepublic Object _try(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function func)
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
Exceptionpublic 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
ExceptionCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.