public class SchemaVersion extends java.lang.Object implements java.lang.Comparable<SchemaVersion>
Modifier and Type | Class and Description |
---|---|
static class |
SchemaVersion.UpgradePhase |
Modifier and Type | Field and Description |
---|---|
int |
build |
java.lang.String |
component |
int |
major |
SchemaVersion.UpgradePhase |
phase |
boolean |
success |
Constructor and Description |
---|
SchemaVersion() |
SchemaVersion(int major,
int build) |
SchemaVersion(java.lang.String version) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SchemaVersion o) |
SchemaVersion |
component(java.lang.String component) |
boolean |
equals(java.lang.Object obj) |
void |
fromDbSchemaversion(long dbSchemaVersion) |
int |
hashCode() |
SchemaVersion |
phase(SchemaVersion.UpgradePhase phase) |
SchemaVersion |
success(boolean success) |
long |
toDbSchemaVersion() |
public int major
public int build
public SchemaVersion.UpgradePhase phase
public java.lang.String component
public boolean success
public SchemaVersion(int major, int build)
public SchemaVersion(java.lang.String version)
public SchemaVersion()
public SchemaVersion phase(SchemaVersion.UpgradePhase phase)
public SchemaVersion component(java.lang.String component)
public SchemaVersion success(boolean success)
public void fromDbSchemaversion(long dbSchemaVersion)
public long toDbSchemaVersion()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int compareTo(SchemaVersion o)
compareTo
in interface java.lang.Comparable<SchemaVersion>
Copyright © 2021. All Rights Reserved.