Package jetbrains.buildServer.serverSide
Class StartupConfiguration
- java.lang.Object
-
- jetbrains.buildServer.serverSide.StartupConfiguration
-
public class StartupConfiguration extends Object
Represents parameters given to the TeamCity on startup. Differs from internal.properties in a way that internal.properties may not yet exist.
-
-
Field Summary
Fields Modifier and Type Field Description static StringONE_TIME_SUPER_USER_TOKENstatic StringTEAMCITY_INSTALLATION_COMPLETED
-
Constructor Summary
Constructors Constructor Description StartupConfiguration()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancanSave()static StringgetDescription()static PropertiesgetFinalSystemProperties()static StringgetLocation()static StringgetProperty(String key)static voidinit(File configFile)Public for testsstatic voidremoveProperty(String key)static voidsaveProperty(String key, String value)
-
-
-
Field Detail
-
TEAMCITY_INSTALLATION_COMPLETED
public static final String TEAMCITY_INSTALLATION_COMPLETED
- See Also:
- Constant Field Values
-
ONE_TIME_SUPER_USER_TOKEN
public static final String ONE_TIME_SUPER_USER_TOKEN
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public static void init(@Nullable File configFile)Public for tests
-
getFinalSystemProperties
@NotNull public static Properties getFinalSystemProperties()
-
canSave
public static boolean canSave()
-
saveProperty
public static void saveProperty(@NotNull String key, @NotNull String value) throws IOException- Throws:
IOException
-
removeProperty
public static void removeProperty(@NotNull String key) throws IOException- Throws:
IOException
-
getLocation
public static String getLocation()
-
getDescription
@NotNull public static String getDescription()
-
-