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 String
ONE_TIME_SUPER_USER_TOKEN
static String
TEAMCITY_INSTALLATION_COMPLETED
-
Constructor Summary
Constructors Constructor Description StartupConfiguration()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
canSave()
static String
getDescription()
static Properties
getFinalSystemProperties()
static String
getLocation()
static String
getProperty(String key)
static void
init(File configFile)
Public for testsstatic void
removeProperty(String key)
static void
saveProperty(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()
-
-