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

org.testng.internal.annotations.BaseBeforeAfter Maven / Gradle / Ivy

There is a newer version: 7.10.1
Show newest version
package org.testng.internal.annotations;

public class BaseBeforeAfter extends TestOrConfiguration implements IBaseBeforeAfter {

  private boolean m_alwaysRun = false;
  private boolean m_inheritGroups = true;
  private String[] m_beforeGroups = {};
  private String[] m_afterGroups = {};
  private String m_description;

  /** @return the description */
  @Override
  public String getDescription() {
    return m_description;
  }

  /** @param description the description to set */
  @Override
  public void setDescription(String description) {
    m_description = description;
  }

  public void setAlwaysRun(boolean alwaysRun) {
    m_alwaysRun = alwaysRun;
  }

  public void setInheritGroups(boolean inheritGroups) {
    m_inheritGroups = inheritGroups;
  }

  @Override
  public boolean getAlwaysRun() {
    return m_alwaysRun;
  }

  @Override
  public boolean getInheritGroups() {
    return m_inheritGroups;
  }

  public String[] getAfterGroups() {
    return m_afterGroups;
  }

  public void setAfterGroups(String[] afterGroups) {
    m_afterGroups = afterGroups;
  }

  public String[] getBeforeGroups() {
    return m_beforeGroups;
  }

  public void setBeforeGroups(String[] beforeGroups) {
    m_beforeGroups = beforeGroups;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy