- java.lang.Object
-
- org.mal_lang.langspec.builders.step.StepExpressionBuilder
-
- org.mal_lang.langspec.builders.step.StepReferenceBuilder
-
- org.mal_lang.langspec.builders.step.StepFieldBuilder
-
public final class StepFieldBuilder extends StepReferenceBuilder
A builder for creatingStepField
objects.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description StepFieldBuilder(String name)
Constructs a newStepFieldBuilder
object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Asset
getTarget(Asset sourceAsset, Map<String,Asset> assets, List<AssetBuilder> assetBuilders)
Returns the target asset of thisStepExpressionBuilder
.-
Methods inherited from class org.mal_lang.langspec.builders.step.StepReferenceBuilder
fromJson, getName
-
-
-
-
Constructor Detail
-
StepFieldBuilder
public StepFieldBuilder(String name)
Constructs a newStepFieldBuilder
object.- Parameters:
name
- the name of the field- Throws:
NullPointerException
- ifname
isnull
IllegalArgumentException
- ifname
is not a valid identifier- Since:
- 1.0.0
-
-
Method Detail
-
getTarget
public Asset getTarget(Asset sourceAsset, Map<String,Asset> assets, List<AssetBuilder> assetBuilders)
Description copied from class:StepExpressionBuilder
Returns the target asset of thisStepExpressionBuilder
.- Specified by:
getTarget
in classStepExpressionBuilder
- Parameters:
sourceAsset
- the source assetassets
- all assets of the languageassetBuilders
- all asset builders of the language- Returns:
- the target asset of this
StepExpressionBuilder
-
-