类 DSLRuntimeCommand

java.lang.Object
com.tlcsdm.core.dsl.runtime.DSLRuntimeCommand

public class DSLRuntimeCommand extends Object
A DSLCommand represents a variable or a function.
从以下版本开始:
Jan, 17th, 2017
作者:
Konloch
  • 字段详细资料

    • DSLCommandType

      private final DSLCommandType DSLCommandType
    • name

      private final String name
    • parameters

      private final String[] parameters
  • 构造器详细资料

    • DSLRuntimeCommand

      public DSLRuntimeCommand(DSLCommandType DSLCommandType, String name, String[] parameters)
      Constructs a new DSLRuntimeCommand
      参数:
      DSLCommandType - the DSLCommandType type
      name - any String as the name
      parameters - any String Array as the parameters
  • 方法详细资料

    • getType

      public DSLCommandType getType()
      Return the DSLCommandType type
      返回:
      the defined DLSCommandType type
    • getName

      public String getName()
      Return the defined name
      返回:
      the defined String name
    • getParameters

      public String[] getParameters()
      Return the defined parameters
      返回:
      the defined String Array parameters
    • getVariableValue

      public String getVariableValue(DSLRuntime runtime)
      Preforms a recursive search if the variable value contains a variable delimiter / variable name
      参数:
      runtime - the DSLRuntime instance
      返回:
      the fully extracted String variable