|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouperClient.config.ConfigPropertiesCascadeBase
edu.internet2.middleware.grouper.app.loader.GrouperLoaderConfig
public class GrouperLoaderConfig
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_SUBJECT_SOURCE_ID
name of param: default.subject.source.id if you want queries which do not specify subject source to come from a certain source, specify here (improves performance so it doesnt search through all sources) default is 10 |
static java.lang.String |
LOADER_RETAIN_DB_LOGS_DAYS
name of param: loader.retain.db.logs.days number of days to retain db logs in table grouperloader_log |
Method Summary | |
---|---|
void |
clearCachedCalculatedValues()
|
static boolean |
getPropertyBoolean(java.lang.String property,
boolean defaultValue)
Deprecated. use GrouperLoaderConfig.retrieveConfig().propertyValueBoolean(property, defaultValue) |
static int |
getPropertyInt(java.lang.String property,
int defaultValue)
Deprecated. GrouperLoaderConfig.retrieveConfig().propertyValueInt(property, defaultValue); |
static java.lang.String |
getPropertyString(java.lang.String property)
Deprecated. use GrouperLoaderConfig.retrieveConfig().propertyValueString(property, ""); instead |
static java.lang.String |
getPropertyString(java.lang.String property,
boolean required)
Deprecated. use GrouperLoaderConfig.retrieveConfig().propertyValueStringRequired(property) |
static java.lang.String |
getPropertyString(java.lang.String property,
java.lang.String defaultValue)
Deprecated. use retrieveConfig().propertyValueString(property, defaultValue) instead |
static GrouperLoaderConfig |
retrieveConfig()
retrieve a config from the config file or from cache |
static GrouperLoaderDb |
retrieveDbProfile(java.lang.String name)
get a profile by name. |
static GrouperLoaderLdapServer |
retrieveLdapProfile(java.lang.String name)
get a profile by name from grouper-loader.properties specify the ldap connection with user, pass, url, etc the string after "ldap." is the name of the connection, and it should not have spaces or other special chars in it ldap.personLdap.user ldap.personLdap.pass ldap.personLdap.url |
Methods inherited from class edu.internet2.middleware.grouperClient.config.ConfigPropertiesCascadeBase |
---|
assertPropertyValueBoolean, assertPropertyValueClass, assertPropertyValueRequired, containsKey, properties, propertiesMap, propertiesOverrideMap, propertiesThreadLocalOverrideMap, propertyNames, propertyValueBoolean, propertyValueBoolean, propertyValueBooleanRequired, propertyValueInt, propertyValueInt, propertyValueIntRequired, propertyValueString, propertyValueString, propertyValueStringRequired |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String LOADER_RETAIN_DB_LOGS_DAYS
public static final java.lang.String DEFAULT_SUBJECT_SOURCE_ID
Method Detail |
---|
@Deprecated public static boolean getPropertyBoolean(java.lang.String property, boolean defaultValue) throws java.lang.NumberFormatException
property
- to lookupdefaultValue
- if the property is not there
java.lang.NumberFormatException
- if cannot convert the value to an Integer@Deprecated public static int getPropertyInt(java.lang.String property, int defaultValue) throws java.lang.NumberFormatException
property
- to lookupdefaultValue
- of the int if not there
java.lang.NumberFormatException
- if cannot convert the value to an Integer@Deprecated public static java.lang.String getPropertyString(java.lang.String property)
String wheel = GrouperLoaderConfig.getProperty("groups.wheel.group");
property
- to lookup
@Deprecated public static java.lang.String getPropertyString(java.lang.String property, boolean required)
String wheel = GrouperLoaderConfig.getProperty("groups.wheel.group");
property
- to lookuprequired
- if property is required. if so, exception if not found. if not, null if not found.
note if value is not filled in, but name is there, then still exception if required
@Deprecated public static java.lang.String getPropertyString(java.lang.String property, java.lang.String defaultValue)
String wheel = GrouperLoaderConfig.getProperty("groups.wheel.group");
property
- to lookupdefaultValue
- is the value if the property isnt found
public static GrouperLoaderDb retrieveDbProfile(java.lang.String name)
name
-
public static GrouperLoaderLdapServer retrieveLdapProfile(java.lang.String name)
name
-
public static GrouperLoaderConfig retrieveConfig()
public void clearCachedCalculatedValues()
clearCachedCalculatedValues
in class edu.internet2.middleware.grouperClient.config.ConfigPropertiesCascadeBase
ConfigPropertiesCascadeBase.clearCachedCalculatedValues()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |