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

org.fluentlenium.core.label.FluentLabel Maven / Gradle / Ivy

package org.fluentlenium.core.label;

/**
 * Apply label and label hints to element.
 *
 * @param  {@code this} class to chain method calls
 */
public interface FluentLabel {
    /**
     * Apply a label that will be displayed as the representation of this object for error message.
     *
     * @param label label to use
     * @return reference to this object to chain calls
     */
    T withLabel(String label);

    /**
     * Add a label hint that will be appended to the representation of this object for error message.
     *
     * @param labelHint label hints to add
     * @return reference to this object to chain calls
     */
    T withLabelHint(String... labelHint);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy