org.spincast.website.AppConfigPropsFileBasedConfig 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.
                
            package org.spincast.website;
import org.spincast.plugins.configpropsfile.SpincastConfigPropsFileBasedConfigDefault;
/**
 * Custom configurations for the .properties file based config plugin.
 */
public class AppConfigPropsFileBasedConfig extends SpincastConfigPropsFileBasedConfigDefault {
    @Override
    public int getSpecificPathMainArgsPosition() {
        //==========================================
        // Enable this stategy: if > 0, the 
        // argument at the specified position will be considered 
        // as the path to  the .properties configuration file to use.
        // The first argument is at position "1".
        //==========================================
        return 1;
    }
}
    © 2015 - 2025 Weber Informatics LLC | Privacy Policy