public.javadoc.org.spincast.plugins.configpropsfile.SpincastConfigPropsFileBasedConfigDefault.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.
The newest version!
SpincastConfigPropsFileBasedConfigDefault (org.spincast:spincast-framework 0.9.28 API)
org.spincast.plugins.configpropsfile
Class SpincastConfigPropsFileBasedConfigDefault
- java.lang.Object
-
- org.spincast.plugins.configpropsfile.SpincastConfigPropsFileBasedConfigDefault
-
- All Implemented Interfaces:
- ISpincastConfigPropsFileBasedConfig
public class SpincastConfigPropsFileBasedConfigDefault
extends Object
implements ISpincastConfigPropsFileBasedConfig
Default configuration for the .properties based config plugin.
-
-
Field Summary
-
Fields inherited from interface org.spincast.plugins.configpropsfile.ISpincastConfigPropsFileBasedConfig
APP_PROPERTIES_FILE_NAME_DEFAULT
-
Constructor Summary
Constructors
Constructor and Description
SpincastConfigPropsFileBasedConfigDefault()
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
Constructor Detail
-
SpincastConfigPropsFileBasedConfigDefault
public SpincastConfigPropsFileBasedConfigDefault()
-
Method Detail
-
getSpecificPathMainArgsPosition
public int getSpecificPathMainArgsPosition()
Description copied from interface: ISpincastConfigPropsFileBasedConfig
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.
- Specified by:
getSpecificPathMainArgsPosition in interface ISpincastConfigPropsFileBasedConfig
- Returns:
- the position of the argument or <= 0 to
disable this strategy.
-
getNextToJarConfigFileName
public String getNextToJarConfigFileName()
Description copied from interface: ISpincastConfigPropsFileBasedConfig
The name of the .properties file to search for next
to the .jar file of the application.
Defaults to "app.properties".
- Specified by:
getNextToJarConfigFileName in interface ISpincastConfigPropsFileBasedConfig
- 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