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 class
IndexInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IndexInfo.Builder
builder()
boolean
equals(Object o)
@org.checkerframework.checker.nullness.qual.NonNull long
getChanges()
@org.checkerframework.checker.nullness.qual.NonNull long
getContent()
@org.checkerframework.checker.nullness.qual.NonNull long
getDeleted()
@org.checkerframework.checker.nullness.qual.NonNull long
getDocuments()
@org.checkerframework.checker.nullness.qual.NonNull long
getMax()
boolean
hasChanges()
Helper that tells you that this index has change documentsboolean
hasContent()
Helper that tells you that this index has content documentsboolean
hasDocuments()
Helper that tells you that this index has documentsint
hashCode()
@org.checkerframework.checker.nullness.qual.NonNull boolean
isEmptyFolder()
@org.checkerframework.checker.nullness.qual.NonNull boolean
isOldVersion()
@org.checkerframework.checker.nullness.qual.NonNull boolean
isValid()
String
toString()
-
-
-
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()
-
-