Class IndexInfo
- java.lang.Object
-
- com.atlassian.confluence.upgrade.upgradetask.splitindex.IndexInfo
-
public class IndexInfo extends Object
Collects information about an index to quickly determine where in a process we are- Since:
- 7.9.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndexInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IndexInfo.Builderbuilder()booleanequals(Object o)@org.checkerframework.checker.nullness.qual.NonNull longgetChanges()@org.checkerframework.checker.nullness.qual.NonNull longgetContent()@org.checkerframework.checker.nullness.qual.NonNull longgetDeleted()@org.checkerframework.checker.nullness.qual.NonNull longgetDocuments()@org.checkerframework.checker.nullness.qual.NonNull longgetMax()booleanhasChanges()Helper that tells you that this index has change documentsbooleanhasContent()Helper that tells you that this index has content documentsbooleanhasDocuments()Helper that tells you that this index has documentsinthashCode()@org.checkerframework.checker.nullness.qual.NonNull booleanisEmptyFolder()@org.checkerframework.checker.nullness.qual.NonNull booleanisOldVersion()@org.checkerframework.checker.nullness.qual.NonNull booleanisValid()StringtoString()
-
-
-
Method Detail
-
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
-
builder
public static IndexInfo.Builder builder()
-
-