String getGrailsVersion return The current Grails version java. String getName return the name of the environment java. Throwable currentReloadError static void setInitializing boolean initializing void setName java. String name Set the name. Enum java. Enum name , java. Enum equals java. Object , java. Enum toString , java. Enum hashCode , java. Enum compareTo java. Enum , java. Enum valueOf java. Class, java. String , java. Enum getDeclaringClass , java. Enum ordinal , java.
Enum wait long, int , java. Enum wait long , java. Enum wait , java. Description mj. Status : NEW. Editor show other bugs.
P3 normal with 4 votes vote. Reported: UTC by mj. Attachments Add an attachment proposed patch, testcase, etc. This field is limited to the default environments Development, Test, Production. Grails offers the flexibility of creating custom environments as well.
The feature can be used to permit different data sources, specific bootstrap operations, etc. Returns: The current environment. Returns: the current environment See Also: getCurrent. Returns the environment for the given short name Parameters: shortName - The short name Returns: The Environment or null if not known.
Returns true if the application is running in development mode within grails run-app Returns: true if the application is running in development mode. Whether this is a fork of the Grails command line environment Returns: True if it is a fork.
Returns: Returns whether reload is enabled for the environment. Returns: Return true if the environment has been set as a Systme property. Check whether the application is deployed Returns: true if is. Returns whether the environment is running within the Grails shell executed via the 'grails' command line in a terminal window Returns: true if is. Frames No Frames. Environment Represents the current environment. String KEY Represents the current environment. String shortName Returns the environment for the given short name static groovy.
String getName return the name of the environment java. Throwable currentReloadError static void setInitializing boolean initializing void setName java. String name Set the name. Enum java. Enum name , java.
0コメント