git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270195 13f79535-47bb-0310-9956-ffa450edef68master
@@ -18,7 +18,7 @@ import org.apache.myrmidon.api.TaskException; | |||||
* @author James Davidson <a href="mailto:duncan@x180.com">duncan@x180.com</a> | * @author James Davidson <a href="mailto:duncan@x180.com">duncan@x180.com</a> | ||||
*/ | */ | ||||
public class Target implements TaskContainer | |||||
public class Target | |||||
{ | { | ||||
private String ifCondition = ""; | private String ifCondition = ""; | ||||
private String unlessCondition = ""; | private String unlessCondition = ""; | ||||
@@ -1,31 +0,0 @@ | |||||
/* | |||||
* Copyright (C) The Apache Software Foundation. All rights reserved. | |||||
* | |||||
* This software is published under the terms of the Apache Software License | |||||
* version 1.1, a copy of which has been included with this distribution in | |||||
* the LICENSE file. | |||||
*/ | |||||
package org.apache.tools.ant; | |||||
import org.apache.myrmidon.api.TaskException; | |||||
/** | |||||
* Interface for objects which can contain tasks <p> | |||||
* | |||||
* It is recommended that implementations call {@link Task#perform perform} | |||||
* instead of {@link Task#execute execute} for the tasks they contain, as this | |||||
* method ensures that {@link BuildEvent BuildEvents} will be generated.</p> | |||||
* | |||||
* @author <a href="mailto:conor@apache.org">Conor MacNeill</a> | |||||
*/ | |||||
public interface TaskContainer | |||||
{ | |||||
/** | |||||
* Add a task to this task container | |||||
* | |||||
* @param task the task to be added to this container | |||||
*/ | |||||
void addTask( Task task ) | |||||
throws TaskException; | |||||
} | |||||
@@ -18,7 +18,7 @@ import org.apache.myrmidon.api.TaskException; | |||||
* @author James Davidson <a href="mailto:duncan@x180.com">duncan@x180.com</a> | * @author James Davidson <a href="mailto:duncan@x180.com">duncan@x180.com</a> | ||||
*/ | */ | ||||
public class Target implements TaskContainer | |||||
public class Target | |||||
{ | { | ||||
private String ifCondition = ""; | private String ifCondition = ""; | ||||
private String unlessCondition = ""; | private String unlessCondition = ""; | ||||
@@ -1,31 +0,0 @@ | |||||
/* | |||||
* Copyright (C) The Apache Software Foundation. All rights reserved. | |||||
* | |||||
* This software is published under the terms of the Apache Software License | |||||
* version 1.1, a copy of which has been included with this distribution in | |||||
* the LICENSE file. | |||||
*/ | |||||
package org.apache.tools.ant; | |||||
import org.apache.myrmidon.api.TaskException; | |||||
/** | |||||
* Interface for objects which can contain tasks <p> | |||||
* | |||||
* It is recommended that implementations call {@link Task#perform perform} | |||||
* instead of {@link Task#execute execute} for the tasks they contain, as this | |||||
* method ensures that {@link BuildEvent BuildEvents} will be generated.</p> | |||||
* | |||||
* @author <a href="mailto:conor@apache.org">Conor MacNeill</a> | |||||
*/ | |||||
public interface TaskContainer | |||||
{ | |||||
/** | |||||
* Add a task to this task container | |||||
* | |||||
* @param task the task to be added to this container | |||||
*/ | |||||
void addTask( Task task ) | |||||
throws TaskException; | |||||
} | |||||