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

com.greenpepper.call.AnnotateSetup Maven / Gradle / Ivy

The newest version!
package com.greenpepper.call;

import com.greenpepper.Example;

/**
 * 

AnnotateSetup class.

* * @author oaouattara * @version $Id: $Id */ public class AnnotateSetup implements Stub { private final Example row; /** *

Constructor for AnnotateSetup.

* * @param row a {@link com.greenpepper.Example} object. */ public AnnotateSetup( Example row ) { this.row = row; } /** {@inheritDoc} */ public void call( Result result ) { Example newLastCell = row.addChild(); if (result.isRight()) Annotate.entered( newLastCell ).call( result ); if (result.isWrong()) Annotate.notEntered( newLastCell ).call( result ); if (result.isException()) Annotate.exception( newLastCell ).call( result ); if (result.isIgnored()) Annotate.entered( newLastCell ).call( result ); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy