All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.almworks.jira.structure.api.attribute.RowValuesWithUpdateChecker Maven / Gradle / Ivy

There is a newer version: 17.25.3
Show newest version
package com.almworks.jira.structure.api.attribute;

/**
 * This class contains row values and the update checker that can be used to see if these row values may have been outdated.
 *
 * @see StructureAttributeService#getAttributeValuesWithUpdateChecker
 * @see RowValues
 * @see AttributeUpdateChecker
 */
public class RowValuesWithUpdateChecker {
  private final RowValues myRowValues;
  private final AttributeUpdateChecker myUpdateChecker;

  /**
   * Creates an instance of the class.
   *
   * @param rowValues row values
   * @param updateChecker update checker
   */
  public RowValuesWithUpdateChecker(RowValues rowValues, AttributeUpdateChecker updateChecker) {
    myRowValues = rowValues;
    myUpdateChecker = updateChecker;
  }

  /**
   * Returns the row values.
   *
   * @return row values
   */
  public RowValues getRowValues() {
    return myRowValues;
  }

  /**
   * Returns the update checker.
   *
   * @return update checker
   */
  public AttributeUpdateChecker getUpdateChecker() {
    return myUpdateChecker;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy