Package com.iizix.prop
Class ModuleProjectSettings
java.lang.Object
com.iizix.prop.ModuleProjectSettings
Class used to wrap the property container for Module Settings.
- Author:
- Christopher Mindus
- Field SummaryFields
- Constructor SummaryConstructorsConstructorDescriptionCreates an instance of the Module Project Settings for a property container.
- Method SummaryModifier and TypeMethodDescriptionGets the list of Project/Alias.Gets the classpath entries for the module project.- <PC extends PropCnr>
 PC- getContainer- (String name, Class<PC> clazz) Gets a container by name and class type.Gets the unmodifiable map of custom app properties, a map with keys and values.- getCustomAppValue- (String key) Gets a value for a key in the custom app properties.Gets the description of the application.Gets the main property container storage.Gets the ModuleApp instance.Gets the plug-ins required by the module.- getSettings- (String name) Gets or creates the settings container of the specified name.- booleanFlag for settings being edited.- booleanReturns if the application uses external login.- booleanReturns if the application requires user authentication every time it's started.- void- setAliases- (ArrayList<String[]> list) Sets a new list of Project/Aliases.- boolean- setClasspath- (Collection<ClasspathEntry> classpath) Sets the classpath.- void- setEditing- (boolean isEditing) Flag for settings being edited.- void- setUseAliases- (boolean on) Sets if Aliases are used for Reference or Project names.- booleanChecks if Aliases are used for Reference or Project names.
- Field Details- ALIASStatic strings.- See Also:
 
- ALIASESStatic strings.- See Also:
 
- PROJECTStatic strings.- See Also:
 
- CLASSPATHStatic strings.- See Also:
 
- USER_AUTHStatic strings.- See Also:
 
- EXT_LOGINStatic strings.- See Also:
 
- CUSTOM_APPStatic strings.- See Also:
 
 
- Constructor Details- ModuleProjectSettingsCreates an instance of the Module Project Settings for a property container.
 
- Method Details- setEditingpublic void setEditing- (boolean isEditing) Flag for settings being edited.
- isEditingpublic boolean isEditing()Flag for settings being edited.
- getMainPropCnrGets the main property container storage.
- getModuleAppGets the ModuleApp instance.
- getDescriptionGets the description of the application.- Returns:
- The application description, or null if not defined.
 
- useAliasespublic boolean useAliases()Checks if Aliases are used for Reference or Project names.
- setUseAliasespublic void setUseAliases- (boolean on) Sets if Aliases are used for Reference or Project names.
- getAliasesGets the list of Project/Alias.- Returns:
- A list of String [2], where first index is Project, second is Alias.
 
- setAliasesSets a new list of Project/Aliases.- Parameters:
- list- A list of String [2], where first index is Project, second is Alias.
 
- getSettingsGets or creates the settings container of the specified name.- Throws:
- PropException- If the settings couldn't be created.
 
- getPluginsGets the plug-ins required by the module.- Returns:
- A comma separated string, or null for none.
 
- getContainerGets a container by name and class type. This is used to store data for plug-in's.- Returns:
- null if not found.
 
- isUserAuthenticationAlwaysRequiredpublic boolean isUserAuthenticationAlwaysRequired()Returns if the application requires user authentication every time it's started.- Returns:
- true for user authentication always required, by password or fingerprint.
 
- isExternalLoginUsedpublic boolean isExternalLoginUsed()Returns if the application uses external login. When "true", the iiziRun user is not used and a new session is always started until the login has completed.- Returns:
- true if external login is used, e.g. using LinkedIn, false for internal user authentication.
 
- getCustomAppValueGets a value for a key in the custom app properties.- Parameters:
- key- The key or name of the property to retrieve.
- Returns:
- The value, or null if no value is defined for the key, or the custom map is not defined.
 
- getCustomAppMapGets the unmodifiable map of custom app properties, a map with keys and values.- Returns:
- The map, or nullif not defined.
 
- setClasspathSets the classpath.- Parameters:
- classpath- The classpath.
- Returns:
- true for changes, false for no changes.
 
- getClasspathEntriesGets the classpath entries for the module project.- Returns:
- The classpath entries array to use for the module project.