Class RolloverResponse

    • Constructor Detail

      • RolloverResponse

        public RolloverResponse​(String oldIndex,
                                String newIndex,
                                Map<String,​Boolean> conditionResults,
                                boolean dryRun,
                                boolean rolledOver,
                                boolean acknowledged,
                                boolean shardsAcknowledged)
    • Method Detail

      • getOldIndex

        public String getOldIndex()
        Returns the name of the index that the request alias was pointing to
      • getNewIndex

        public String getNewIndex()
        Returns the name of the index that the request alias currently points to
      • getConditionStatus

        public Map<String,​Boolean> getConditionStatus()
        Returns the statuses of all the request conditions
      • isDryRun

        public boolean isDryRun()
        Returns if the rollover execution was skipped even when conditions were met
      • isRolledOver

        public boolean isRolledOver()
        Returns true if the rollover was not simulated and the conditions were met