Class AbstractMacro
java.lang.Object
org.qubership.atp.dataset.service.jpa.model.tree.params.AbstractParameter
org.qubership.atp.dataset.service.jpa.model.tree.params.AbstractTextParameter
org.qubership.atp.dataset.service.jpa.model.tree.params.macros.AbstractMacro
- Direct Known Subclasses:
AbstractRef,AtpMacro,CharsMacro,ContextMacro,DateMacro,InnMacro,RandomBetween,RefThisMacro,UnknownMacro,UuidMacro
-
Field Summary
FieldsFields inherited from class org.qubership.atp.dataset.service.jpa.model.tree.params.AbstractTextParameter
childTextParameters, parameters, skipExternalChildrenParse -
Constructor Summary
ConstructorsConstructorDescriptionAbstractMacro(String macroNameWithMarker, MacroContext macroContext, ParameterPositionContext parameterPositionContext) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic AbstractMacrogetMacroByName(String macroNameWithMarker, MacroContext macroContext, boolean evaluate, ParameterPositionContext parameterPositionContext) Returns macro implementation by it's name.getUnevaluatedValue(String childrenValue) getValue()booleanMethods inherited from class org.qubership.atp.dataset.service.jpa.model.tree.params.AbstractTextParameter
addTextParameter, getArguments, getTypeMethods inherited from class org.qubership.atp.dataset.service.jpa.model.tree.params.AbstractParameter
getInItfFormatValue
-
Field Details
-
DATASET_MACRO_MARKER
- See Also:
-
-
Constructor Details
-
AbstractMacro
public AbstractMacro(String macroNameWithMarker, MacroContext macroContext, ParameterPositionContext parameterPositionContext) Default constructor.
-
-
Method Details
-
getMacroByName
public static AbstractMacro getMacroByName(String macroNameWithMarker, MacroContext macroContext, boolean evaluate, ParameterPositionContext parameterPositionContext) Returns macro implementation by it's name. -
getValue
- Specified by:
getValuein classAbstractParameter
-
getUnevaluatedValue
-
isNullValue
public boolean isNullValue()- Specified by:
isNullValuein classAbstractParameter
-