package com.onaro.sanscreen.client.view; import com.onaro.sanscreen.client.IWarningRequired; /** * Abstract class for data providers. Any data provider might indicate that * a warning should be displayed with the data, because the set of data * provided might be incomplete. In v6.3, this only occurs when auto Tiering * prevents determination of the storage pools (and therefore the disks) * used by a volume. */ public abstract class AbstractDataProvider implements IWarningRequired { /** * Indicates if data is indeterminate (perhaps because of auto storage tiering). */ private boolean isWarningRequired = false; protected final void setWarningRequired(boolean isRequired) { this.isWarningRequired = isRequired; } @Override public final boolean isWarningRequired() { return isWarningRequired; } }