]>
git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.core/src/main/java/org/argeo/slc/ant/test/SlcCloseTestResultTask.java
1 package org
.argeo
.slc
.ant
.test
;
3 import org
.argeo
.slc
.ant
.structure
.SAwareTask
;
4 import org
.argeo
.slc
.core
.structure
.StructureRegistry
;
5 import org
.argeo
.slc
.core
.test
.TestResult
;
7 /** Ant tasks closing a given result. */
8 public class SlcCloseTestResultTask
extends SAwareTask
{
12 public void executeActions(String mode
) {
13 if (!mode
.equals(StructureRegistry
.READ
)) {
14 TestResult testResult
= (TestResult
) getContext().getBean(result
);
19 /** Sets the bean name of the result to close. */
20 public void setResult(String bean
) {