org.apache.felix.gogo.shell
Class Procedural
java.lang.Object
org.apache.felix.gogo.shell.Procedural
public class Procedural
- extends java.lang.Object
Method Summary |
java.lang.Object |
_if(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Function[] fns)
|
void |
_throw(org.apache.felix.service.command.CommandSession session)
|
void |
_throw(java.lang.Exception e)
|
void |
_throw(java.lang.String message)
|
java.lang.Object |
_try(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Function func)
|
java.lang.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)
|
java.util.List<java.lang.Object> |
each(org.apache.felix.service.command.CommandSession session,
java.util.Collection<java.lang.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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Procedural
public Procedural()
each
public java.util.List<java.lang.Object> each(org.apache.felix.service.command.CommandSession session,
java.util.Collection<java.lang.Object> list,
org.apache.felix.service.command.Function closure)
throws java.lang.Exception
- Throws:
java.lang.Exception
_if
public java.lang.Object _if(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Function[] fns)
throws java.lang.Exception
- Throws:
java.lang.Exception
not
public boolean not(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Function condition)
throws java.lang.Exception
- Throws:
java.lang.Exception
_throw
public void _throw(java.lang.String message)
_throw
public void _throw(java.lang.Exception e)
throws java.lang.Exception
- Throws:
java.lang.Exception
_throw
public void _throw(org.apache.felix.service.command.CommandSession session)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
_try
public java.lang.Object _try(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Function func)
throws java.lang.Exception
- Throws:
java.lang.Exception
_try
public java.lang.Object _try(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Function func,
org.apache.felix.service.command.Function error)
throws java.lang.Exception
- Throws:
java.lang.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 java.lang.Exception
- Throws:
java.lang.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 java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2011. All Rights Reserved.