Class RunCommand

  • All Implemented Interfaces:
    grails.util.Named, org.grails.cli.profile.Command

    public class RunCommand
    extends java.lang.Object
    implements org.grails.cli.profile.Command
    Command to 'run' a groovy script or scripts.
    Since:
    2022.1.0
    See Also:
    GrailsApplicationRunner
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String NAME  
    • Constructor Summary

      Constructors 
      Constructor Description
      RunCommand()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.grails.cli.profile.CommandDescription getDescription()  
      java.lang.String getName()  
      boolean handle​(ExecutionContext executionContext)  
      • Methods inherited from class java.lang.Object

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

      • RunCommand

        public RunCommand()
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface grails.util.Named
      • getDescription

        public org.grails.cli.profile.CommandDescription getDescription()
        Specified by:
        getDescription in interface org.grails.cli.profile.Command
      • handle

        public boolean handle​(ExecutionContext executionContext)
        Specified by:
        handle in interface org.grails.cli.profile.Command