Class CollationMismatchProblem
- java.lang.Object
-
- jetbrains.buildServer.serverSide.db.CollationMismatchProblem
-
public final class CollationMismatchProblem extends Object
A found problem with collation in the database.This class is just an immutable data object; it does nothing.
- Since:
- 8.1
- Author:
- Leonid Bushuev from JetBrains
- See Also:
CollationVerifier
-
-
Constructor Summary
Constructors Constructor Description CollationMismatchProblem(DatabaseType databaseType, String databaseCollation, Map<String,String> wrongColumns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAsText()
String
getDatabaseCollation()
com.google.common.collect.ImmutableMap<String,String>
getWrongColumns()
int
getWrongColumnsCount()
boolean
isMySQL()
String
toString()
-
-
-
Constructor Detail
-
CollationMismatchProblem
public CollationMismatchProblem(@NotNull DatabaseType databaseType, @NotNull String databaseCollation, @NotNull Map<String,String> wrongColumns)
-
-
Method Detail
-
isMySQL
public boolean isMySQL()
-
getDatabaseCollation
@NotNull public String getDatabaseCollation()
-
getWrongColumns
@NotNull public com.google.common.collect.ImmutableMap<String,String> getWrongColumns()
-
getWrongColumnsCount
public int getWrongColumnsCount()
-
getAsText
public String getAsText()
-
-