/** Get the configuration name. */ @Override public String getConfigurationName() { return (String)getValue(CONFIGURATION_NAME); } /** Set the configuration name. */
/** Get the platform name. */ @Override public String getPlatformName() { return (String)getValue(PLATFORM_NAME); } /** Set the platform name. */
/** * Get the persist flag. * @return boolean */ @Override public boolean getPersist() { return (Boolean)getValue(PERSIST); }
/** Get platform component. */ @Override public Class getPlatformComponent() { return (Class)getValue(PLATFORM_COMPONENT); } /** Set platform component. */
/** * Get the monitoring level. * @return */ @Override public IMonitoringService.PublishEventLevel getMonitoring() { return (IMonitoringService.PublishEventLevel)getValue(MONITORING); }
/** * Get the debug futures flag. * @return */ @Override public boolean getDebugFutures() { return Boolean.TRUE.equals(getValue(DEBUGFUTURES)); }
/** Get autoshutdown flag. */ @Override public boolean getAutoShutdown() { return Boolean.TRUE.equals(getValue(AUTOSHUTDOWN)); } /** Set autoshutdown flag. */
/** * Get the boolean value of a flag. */ @Override public boolean getBooleanValue(String key) { return Boolean.TRUE.equals(getValue(key)); }
/** * Get the debug services flag. * @return */ @Override public boolean getDebugServices() { return Boolean.TRUE.equals(getValue(DEBUGSERVICES)); }
/** * Get the debug steps flag. * @return */ @Override public boolean getDebugSteps() { return Boolean.TRUE.equals(getValue(DEBUGSTEPS)); }
/** * Get the no stack compaction flag. * @return True if no stack compaction. */ @Override public boolean getNoStackCompaction() { return Boolean.TRUE.equals(getValue(NOSTACKCOMPACTION)); }
/** * Get the OPENGL flag. * @return */ @Override public boolean getOpenGl() { return Boolean.TRUE.equals(getValue(OPENGL)); }
/** * Returns a value. This only checks the starterconfig (for compatibility reasons)! * Use other methods instead. * @param key * @return * @deprecated since 3.0.2 */ @Deprecated Object getValue(String key) { Object value = starterconfig.getValue(key); // if (value == null) { // value = rootconfig.getValue(key); // } return value; }
Object tmpmoni = getValue(StarterConfiguration.MONITORING); IMonitoringService.PublishEventLevel moni = IMonitoringService.PublishEventLevel.OFF; if(tmpmoni instanceof Boolean)