- java.lang.Object
-
- org.mal_lang.langspec.step.StepExpression
-
- org.mal_lang.langspec.step.StepReference
-
- org.mal_lang.langspec.step.StepAttackStep
-
public final class StepAttackStep extends StepReference
Immutable class representing an attack step step in a MAL language.- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttackStepgetAttackStep()Returns the attack step of thisStepAttackStepobject.JsonObjecttoJson()Returns the JSON representation of thisStepExpressionobject.-
Methods inherited from class org.mal_lang.langspec.step.StepExpression
fromBuilder, getSourceAsset, getTargetAsset
-
-
-
-
Method Detail
-
getAttackStep
public AttackStep getAttackStep()
Returns the attack step of thisStepAttackStepobject.- Returns:
- the attack step of this
StepAttackStepobject - Since:
- 1.0.0
-
toJson
public JsonObject toJson()
Description copied from class:StepExpressionReturns the JSON representation of thisStepExpressionobject.- Specified by:
toJsonin classStepExpression- Returns:
- the JSON representation of this
StepExpressionobject
-
-