Class ImpExConstants.Syntax.CodeMarkers

  • Enclosing class:
    ImpExConstants.Syntax

    public static final class ImpExConstants.Syntax.CodeMarkers
    extends java.lang.Object
    Defines the constant strings for all code markers allowed in script and used by ImpEx. Code markers are directives which mark special code blocks. These code blocks will not be executed in as normal code blocks.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String AFTER_EACH
      Code marked with the 'afterEach' marker will be executed for each following value line after processing the line.
      static java.lang.String AFTER_EACH_END
      Marks the end of a afterEach scope.
      static java.lang.String[] ALL
      Collection of all provided code markers.
      ATTENTION: Always put closing before opening marker !!!
      static java.lang.String BEFORE_EACH
      Code marked with the 'before each' marker will be executed for each following value line after parsing the line but before processing the line.
      static java.lang.String BEFORE_EACH_END
      Marks the end of a before each scope.
      static java.lang.String END_IF
      Marks the end of a if scope.
      static java.lang.String FOR_EACH
      Deprecated.
      since ages - useAFTER_EACH instead
      static java.lang.String FOR_EACH_END
      Deprecated.
      since ages - useAFTER_EACH_END instead
      static java.lang.String IF
      By using the 'if' marker you can define conditional statements within ImpEx scripts.
    • Constructor Summary

      Constructors 
      Constructor Description
      CodeMarkers()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • BEFORE_EACH

        public static final java.lang.String BEFORE_EACH
        Code marked with the 'before each' marker will be executed for each following value line after parsing the line but before processing the line. So it is called before each, because the code will be executed before the processing of each line. The scope of the marker ends automatically at the next header descriptor or can be set manually by using the before each end marker. A boxing of these markers is not possible. The code block of the last defined marker of this kind will be used.
        See Also:
        Constant Field Values
      • FOR_EACH

        @Deprecated(since="ages",
                    forRemoval=false)
        public static final java.lang.String FOR_EACH
        Deprecated.
        since ages - useAFTER_EACH instead
        Code marked with the 'for each' marker will be executed for each following value line after processing the line. The scope of the marker ends automatically at the next header descriptor or can be set manually by using the for each end marker. The code block of the last defined marker of this kind will be used.
        See Also:
        Constant Field Values
      • FOR_EACH_END

        @Deprecated(since="ages",
                    forRemoval=false)
        public static final java.lang.String FOR_EACH_END
        Deprecated.
        since ages - useAFTER_EACH_END instead
        Marks the end of a for each scope.
        See Also:
        Constant Field Values
      • AFTER_EACH

        public static final java.lang.String AFTER_EACH
        Code marked with the 'afterEach' marker will be executed for each following value line after processing the line. The scope of the marker ends automatically at the next header descriptor or can be set manually by using the afterEach:end marker. The code block of the last defined marker of this kind will be used.
        See Also:
        Constant Field Values
      • IF

        public static final java.lang.String IF
        By using the 'if' marker you can define conditional statements within ImpEx scripts. The condition code after an 'if' marker will be evaluated and in condition on the result the script part until next end if skipped or not (also header and value lines will be skipped). The marker can be boxed as in java language.
        See Also:
        Constant Field Values
      • ALL

        public static final java.lang.String[] ALL
        Collection of all provided code markers.
        ATTENTION: Always put closing before opening marker !!!
    • Constructor Detail

      • CodeMarkers

        public CodeMarkers()