Tabnine Logo
EnvUtil.isDevMode
Code IndexAdd Tabnine to your IDE (free)

How to use
isDevMode
method
in
org.jboss.errai.config.rebind.EnvUtil

Best Java code snippets using org.jboss.errai.config.rebind.EnvUtil.isDevMode (Showing top 6 results out of 315)

origin: errai/errai

public static boolean isProdMode() {
 if (_isProdMode != null) return _isProdMode;
 return _isProdMode = Boolean.valueOf(!isDevMode() && !isJUnitTest());
}
origin: org.jboss.errai/errai-config

public static boolean isProdMode() {
 if (_isProdMode != null) return _isProdMode;
 return _isProdMode = Boolean.valueOf(!isDevMode() && !isJUnitTest());
}
origin: org.jboss.errai/errai-marshalling

public static boolean isUseStaticMarshallers() {
 if (isForceStaticMarshallers())
  return true;
 if (EnvUtil.isDevMode() && !EnvUtil.isJUnitTest())
  return false;
 if (System.getProperty(USE_STATIC_MARSHALLERS) != null) {
  return Boolean.getBoolean(USE_STATIC_MARSHALLERS);
 }
 final Map<String, String> frameworkProperties = EnvUtil.getEnvironmentConfig().getFrameworkProperties();
 if (frameworkProperties.containsKey(USE_STATIC_MARSHALLERS)) {
  return "true".equals(frameworkProperties.get(USE_STATIC_MARSHALLERS));
 }
 else {
  return !EnvUtil.isDevMode();
 }
}
origin: errai/errai

public static boolean isUseStaticMarshallers() {
 if (isForceStaticMarshallers())
  return true;
 if (EnvUtil.isDevMode() && !EnvUtil.isJUnitTest())
  return false;
 if (System.getProperty(USE_STATIC_MARSHALLERS) != null) {
  return Boolean.getBoolean(USE_STATIC_MARSHALLERS);
 }
 final Map<String, String> frameworkProperties = EnvUtil.getEnvironmentConfig().getFrameworkProperties();
 if (frameworkProperties.containsKey(USE_STATIC_MARSHALLERS)) {
  return "true".equals(frameworkProperties.get(USE_STATIC_MARSHALLERS));
 }
 else {
  return !EnvUtil.isDevMode();
 }
}
origin: errai/errai

public static void recordEnvironmentState() {
 isJUnitTest();
 isDevMode();
 isProdMode();
}
origin: org.jboss.errai/errai-config

public static void recordEnvironmentState() {
 isJUnitTest();
 isDevMode();
 isProdMode();
}
org.jboss.errai.config.rebindEnvUtilisDevMode

Popular methods of EnvUtil

  • isPortableType
  • isProdMode
  • getEnvironmentConfig
  • isJUnitTest
  • getErraiAppPropertiesFilesUrls
  • isLocalEventType
  • recordEnvironmentState
  • addExposedInnerClasses
  • addMappingAliases
  • addNonSerializableTypes
  • addSerializableTypes
  • clearCache
  • addSerializableTypes,
  • clearCache,
  • fillInInterfacesAndSuperTypes,
  • getAllPortableConcreteSubtypes,
  • isBuiltinPortableType,
  • isListValuedProperty,
  • isString,
  • isUserPortableType,
  • processEnvironmentConfigExtensions

Popular in Java

  • Creating JSON documents from java classes using gson
  • startActivity (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • onCreateOptionsMenu (Activity)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now