Interface ActorProcessor

    • Method Detail

      • process

        void process​(Actor actor)
        Processes the actor.
        Parameters:
        actor - the actor to process
      • hasErrors

        boolean hasErrors()
        Checks whether any errors were encountered.
        Returns:
        true if errors were encountered
        See Also:
        getErrors()
      • getErrors

        List<String> getErrors()
        Returns the list of errors (if any).
        Returns:
        the errors
      • compareTo

        int compareTo​(ActorProcessor o)
        Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.

        Only compares the commandlines of the two objects.
        Specified by:
        compareTo in interface Comparable<ActorProcessor>
        Parameters:
        o - the object to be compared.
        Returns:
        a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
        Throws:
        ClassCastException - if the specified object's type prevents it from being compared to this object.
      • shallowCopy

        ActorProcessor shallowCopy​(boolean expand)
        Returns a shallow copy of itself, i.e., based on the commandline options.
        Specified by:
        shallowCopy in interface ShallowCopySupporter<ActorProcessor>
        Parameters:
        expand - whether to expand variables to their current values
        Returns:
        the shallow copy