Class MultiCommand

    • Field Detail

      • cmds

        private java.util.List<Command> cmds
    • Constructor Detail

      • MultiCommand

        public MultiCommand()
    • Method Detail

      • init

        public void init​(Session session,
                         java.util.Map<java.lang.String,​java.lang.String> parameters)
                  throws OpenAS2Exception
        Description copied from interface: Component
        Component lifecycle hook. After creating a Component object, this method should be called to set any parameters used by the component. Component implementations typically have required parameter checking and code to start timers and threads within this method.
        Specified by:
        init in interface Component
        Overrides:
        init in class BaseCommand
        Parameters:
        session - the component uses this object to access other components
        parameters - configuration values for the component
        Throws:
        OpenAS2Exception - If an error occurs while initializing the component
        See Also:
        Session
      • getCommand

        public Command getCommand​(java.lang.String name)
      • getCommands

        public java.util.List<Command> getCommands()
      • getDescription

        public java.lang.String getDescription​(java.lang.String name)
      • getUsage

        public java.lang.String getUsage​(java.lang.String name)
      • supports

        public boolean supports​(java.lang.String name)