public.javadoc.org.spincast.plugins.configpropsfile.ISpincastConfigPropsFileBasedConfig.html Maven / Gradle / Ivy
                 Go to download
                
        
                    Show more of this group  Show more artifacts with this name
Show all versions of spincast-website Show documentation
                Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
                
            
ISpincastConfigPropsFileBasedConfig (org.spincast:spincast-framework 0.9.21 API) 
org.spincast.plugins.configpropsfile
Interface ISpincastConfigPropsFileBasedConfig
- 
- All Known Implementing Classes:
 
- SpincastConfigPropsFileBasedConfigDefault
 
public interface ISpincastConfigPropsFileBasedConfig
Configurations for the Spincast .properties based config plugin.
 
 We use "@ImplementedBy" to specify the default configurations
 to use if none is specified in a Guice module.
 
- 
- 
Field Summary
Fields  
Modifier and Type 
Field and Description 
 
static String 
APP_PROPERTIES_FILE_NAME_DEFAULT  
 
 
- 
Method Summary
All Methods Instance Methods Abstract Methods  
Modifier and Type 
Method and Description 
 
String 
getNextToJarConfigFileName()
The name of the .properties file to search for next
 to the .jar file of the application.
 
 
int 
getSpecificPathMainArgsPosition()
The position of the main argument that specifies
 the path to the .properties file to use for the
 configurations.
 
 
 
 
- 
- 
Field Detail
- 
APP_PROPERTIES_FILE_NAME_DEFAULT
static final String APP_PROPERTIES_FILE_NAME_DEFAULT
- See Also:
 
- Constant Field Values
 
 
 
- 
Method Detail
- 
getSpecificPathMainArgsPosition
int getSpecificPathMainArgsPosition()
The position of the main argument that specifies
 the path to the .properties file to use for the
 configurations. The first argument is at position 
 "1".
 
 Disabled by default.
 
- Returns:
 
- the position of the argument or <= 0 to
 disable this strategy.
 
 
- 
getNextToJarConfigFileName
String getNextToJarConfigFileName()
The name of the .properties file to search for next
 to the .jar file of the application.
 
 Defaults to "app.properties".
 
- Returns:
 
- the name of the config file or null/empty
 to disable this strategy.
 
 
 
 
Copyright © 2016. All rights reserved.
    © 2015 - 2025 Weber Informatics LLC | Privacy Policy