| package org.eclipse.ant.core; |
| |
| /********************************************************************** |
| Copyright (c) 2000, 2002 IBM Corp. All rights reserved. |
| This file is made available under the terms of the Common Public License v1.0 |
| which accompanies this distribution, and is available at |
| http://www.eclipse.org/legal/cpl-v10.html |
| **********************************************************************/ |
| |
| import org.eclipse.ant.internal.core.AntObject; |
| |
| /** |
| * Represents an Ant type. |
| * @since 2.1 |
| */ |
| public class Type extends AntObject { |
| |
| /** |
| * Returns the type name |
| * @return Returns a String |
| */ |
| public String getTypeName() { |
| return fName; |
| } |
| |
| /** |
| * Sets the taskName. |
| * @param taskName The taskName to set |
| */ |
| public void setTypeName(String taskName) { |
| fName = taskName; |
| } |
| } |