Browse Source

TaskContainers occur in task space in Myrmidon not in container space.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270195 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 23 years ago
parent
commit
47903f9666
4 changed files with 2 additions and 64 deletions
  1. +1
    -1
      proposal/myrmidon/src/main/org/apache/tools/ant/Target.java
  2. +0
    -31
      proposal/myrmidon/src/main/org/apache/tools/ant/TaskContainer.java
  3. +1
    -1
      proposal/myrmidon/src/todo/org/apache/tools/ant/Target.java
  4. +0
    -31
      proposal/myrmidon/src/todo/org/apache/tools/ant/TaskContainer.java

+ 1
- 1
proposal/myrmidon/src/main/org/apache/tools/ant/Target.java View File

@@ -18,7 +18,7 @@ import org.apache.myrmidon.api.TaskException;
* @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 unlessCondition = "";


+ 0
- 31
proposal/myrmidon/src/main/org/apache/tools/ant/TaskContainer.java View File

@@ -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;
}


+ 1
- 1
proposal/myrmidon/src/todo/org/apache/tools/ant/Target.java View File

@@ -18,7 +18,7 @@ import org.apache.myrmidon.api.TaskException;
* @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 unlessCondition = "";


+ 0
- 31
proposal/myrmidon/src/todo/org/apache/tools/ant/TaskContainer.java View File

@@ -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;
}


Loading…
Cancel
Save