|
@@ -5,7 +5,7 @@ |
|
|
* version 1.1, a copy of which has been included with this distribution in |
|
|
* version 1.1, a copy of which has been included with this distribution in |
|
|
* the LICENSE file. |
|
|
* the LICENSE file. |
|
|
*/ |
|
|
*/ |
|
|
package org.apache.ant.modules.basic; |
|
|
|
|
|
|
|
|
package org.apache.myrmidon.framework; |
|
|
|
|
|
|
|
|
import org.apache.myrmidon.api.DataType; |
|
|
import org.apache.myrmidon.api.DataType; |
|
|
import org.apache.myrmidon.api.TaskException; |
|
|
import org.apache.myrmidon.api.TaskException; |
|
@@ -79,6 +79,11 @@ public class Pattern |
|
|
m_condition = new Condition( false, condition ); |
|
|
m_condition = new Condition( false, condition ); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public String toString() |
|
|
|
|
|
{ |
|
|
|
|
|
return "Pattern['" + m_name + "'," + m_condition + "]" ; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Utility method to make sure condition unset. |
|
|
* Utility method to make sure condition unset. |
|
|
* Made so that it is not possible for both if and unless to be set. |
|
|
* Made so that it is not possible for both if and unless to be set. |