Class ImpExConstants.Syntax.CodeMarkers
java.lang.Object
de.hybris.platform.impex.constants.ImpExConstants.Syntax.CodeMarkers
- Enclosing class:
- ImpExConstants.Syntax
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
FieldsModifier and TypeFieldDescriptionstatic final StringCode marked with the 'afterEach' marker will be executed for each following value line after processing the line.static final StringMarks the end of aafterEachscope.static final String[]Collection of all provided code markers.
ATTENTION: Always put closing before opening marker !!!static final StringCode marked with the 'before each' marker will be executed for each following value line after parsing the line but before processing the line.static final StringMarks the end of abefore eachscope.static final StringMarks the end of aifscope.static final StringDeprecated.static final StringDeprecated.since ages - useAFTER_EACH_ENDinsteadstatic final StringBy using the 'if' marker you can define conditional statements within ImpEx scripts. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
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 thebefore each endmarker. A boxing of these markers is not possible. The code block of the last defined marker of this kind will be used.- See Also:
-
BEFORE_EACH_END
Marks the end of abefore eachscope.- See Also:
-
FOR_EACH
Deprecated.since ages - useAFTER_EACHinsteadCode 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 thefor each endmarker. The code block of the last defined marker of this kind will be used.- See Also:
-
FOR_EACH_END
Deprecated.since ages - useAFTER_EACH_ENDinsteadMarks the end of afor eachscope.- See Also:
-
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 theafterEach:endmarker. The code block of the last defined marker of this kind will be used.- See Also:
-
AFTER_EACH_END
Marks the end of aafterEachscope.- See Also:
-
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 nextend ifskipped or not (also header and value lines will be skipped). The marker can be boxed as in java language.- See Also:
-
END_IF
Marks the end of aifscope.- See Also:
-
ALL
Collection of all provided code markers.
ATTENTION: Always put closing before opening marker !!!
-
-
Constructor Details
-
CodeMarkers
public CodeMarkers()
-
AFTER_EACHinstead