Class ProceduralCmds

java.lang.Object
com.e1c.g5.v8.dt.internal.cli.api.ProceduralCmds
All Implemented Interfaces:
ICliCommand

public class ProceduralCmds extends Object implements ICliCommand
Provides procedural commands to extend the built-in procedural commands of the GoGo Shell.

Note! This is a special command provider, which is registered directly. It must not be registered via the com.e1c.g5.v8.dt.cli.api.cliCommand extension point.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    _if(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function[] fns)
     
    _try(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function func, String blockName, org.apache.felix.service.command.Function block)
     
    _try(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function func, String _catch, org.apache.felix.service.command.Function catchBlock, String _finally, org.apache.felix.service.command.Function finallyBlock)
     
    _try(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function func, org.apache.felix.service.command.Function error, org.apache.felix.service.command.Function _finally)
     
    void
    _while(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function condition, org.apache.felix.service.command.Function ifTrue)
     
    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
  • Constructor Details

    • ProceduralCmds

      public ProceduralCmds()
  • Method Details

    • _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, org.apache.felix.service.command.Function _finally) throws Exception
      Throws:
      Exception
    • _try

      public Object _try(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function func, String blockName, org.apache.felix.service.command.Function block) throws Exception
      Throws:
      Exception
    • _try

      public Object _try(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Function func, String _catch, org.apache.felix.service.command.Function catchBlock, String _finally, org.apache.felix.service.command.Function finallyBlock) 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
    • _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