Class AbstractModifyingInteractiveProcessor

    • Field Detail

      • m_ContinueInteraction

        protected boolean m_ContinueInteraction
        whether to continue with the processing.
    • Constructor Detail

      • AbstractModifyingInteractiveProcessor

        public AbstractModifyingInteractiveProcessor()
    • Method Detail

      • handleBooleanOption

        protected void handleBooleanOption​(BooleanOption option,
                                           OptionTraversalPath path)
        Interacts with the user on this boolean option if necessary.
        Parameters:
        option - the current option
        path - the current traversal path
      • handleArgumentOption

        protected void handleArgumentOption​(AbstractArgumentOption option,
                                            OptionTraversalPath path)
        Interacts with the user on this argument option if necessary.
        Parameters:
        option - the current option
        path - the current traversal path
      • handleClassOption

        protected void handleClassOption​(ClassOption option,
                                         OptionTraversalPath path)
        Interacts with the user on this class option if necessary.
        Parameters:
        option - the current option
        path - the current traversal path
      • canRecurse

        protected abstract boolean canRecurse​(Class cls)
        Returns whether we can recurse into this class.
        Parameters:
        cls - the class to check
        Returns:
        true if recursion is allowed
      • canRecurse

        protected abstract boolean canRecurse​(Object obj)
        Returns whether we can recurse into this object.
        Parameters:
        obj - the object to check
        Returns:
        true if recursion is allowed
      • processActor

        protected void processActor​(Actor actor)
        Performs the actual processing.
        Specified by:
        processActor in class AbstractActorProcessor
        Parameters:
        actor - the actor to process (is a copy of original for processors implementing ModifyingProcessor)
        See Also:
        ModifyingProcessor