Object Action.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Action invoke(String name, String description, Function1<Action.DSL, Unit> action) Creates and configures an Action instance with Kotlin DSL syntax.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • invoke

         final Action invoke(String name, String description, Function1<Action.DSL, Unit> action)

        Creates and configures an Action instance with Kotlin DSL syntax.

        Parameters:
        name - The name of the action
        description - A description of what the action does
        action - Configuration lambda to set up the action
        Returns:

        Configured Action instance