org.jnario.lib.ExampleTableRow Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (c) 2012 BMW Car IT and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
package org.jnario.lib;
import java.util.List;
import org.hamcrest.StringDescription;
/**
* The super class of all table rows.
*
* @author Sebastian Benz - Initial contribution and API
*/
public abstract class ExampleTableRow {
private final List cells;
public ExampleTableRow(List cells) {
this.cells = cells;
}
public List getCells(){
return cells;
}
public String toString(Object value) {
return new StringDescription().appendValue(value).toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy