java.lang.Object
ortus.boxlang.runtime.components.Component
ortus.boxlang.runtime.components.system.Param

@BoxComponent public class Param extends Component
  • Constructor Details

    • Param

      public Param()
      -------------------------------------------------------------------------- Constructor(s) --------------------------------------------------------------------------
  • Method Details

    • _invoke

      public Component.BodyResult _invoke(IBoxContext context, IStruct attributes, Component.ComponentBody body, IStruct executionState)
      Tests for a parameter's existence, tests its data type, and, if a default value is not assigned, optionally provides one.
      Specified by:
      _invoke in class Component
      Parameters:
      context - The context in which the Component is being invoked
      attributes - The attributes to the Component
      body - The body of the Component
      executionState - The execution state of the Component
      Returns:
      The result of the invocation