Class IndexInfo
java.lang.Object
com.atlassian.confluence.upgrade.upgradetask.splitindex.IndexInfo
Collects information about an index to quickly determine where in a process we are
- Since:
- 7.9.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic IndexInfo.Builderbuilder()boolean@org.checkerframework.checker.nullness.qual.NonNull long@org.checkerframework.checker.nullness.qual.NonNull long@org.checkerframework.checker.nullness.qual.NonNull long@org.checkerframework.checker.nullness.qual.NonNull long@org.checkerframework.checker.nullness.qual.NonNull longgetMax()booleanHelper that tells you that this index has change documentsbooleanHelper that tells you that this index has content documentsbooleanHelper that tells you that this index has documentsinthashCode()@org.checkerframework.checker.nullness.qual.NonNull boolean@org.checkerframework.checker.nullness.qual.NonNull boolean@org.checkerframework.checker.nullness.qual.NonNull booleanisValid()toString()
-
Method Details
-
isValid
public @org.checkerframework.checker.nullness.qual.NonNull boolean isValid() -
isEmptyFolder
public @org.checkerframework.checker.nullness.qual.NonNull boolean isEmptyFolder() -
isOldVersion
public @org.checkerframework.checker.nullness.qual.NonNull boolean isOldVersion() -
getDocuments
public @org.checkerframework.checker.nullness.qual.NonNull long getDocuments() -
getMax
public @org.checkerframework.checker.nullness.qual.NonNull long getMax() -
getDeleted
public @org.checkerframework.checker.nullness.qual.NonNull long getDeleted() -
getContent
public @org.checkerframework.checker.nullness.qual.NonNull long getContent() -
getChanges
public @org.checkerframework.checker.nullness.qual.NonNull long getChanges() -
hasDocuments
public boolean hasDocuments()Helper that tells you that this index has documents- Returns:
- boolean true if there are documents
-
hasContent
public boolean hasContent()Helper that tells you that this index has content documents- Returns:
- boolean true if there are content documents
-
hasChanges
public boolean hasChanges()Helper that tells you that this index has change documents- Returns:
- boolean true if there are change documents
-
toString
-
equals
-
hashCode
public int hashCode() -
builder
-