donaldp 2002/06/10 21:18:30
Added: container/src/java/org/apache/myrmidon/interfaces/oldmodel
AbstractUnit.java
Log:
Add in abstract class from which Project and Target extend
Revision Changes Path
1.1
jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/interfaces/oldmodel/AbstractUnit.java
Index: AbstractUnit.java
===================================================================
/*
* 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.txt file.
*/
package org.apache.myrmidon.interfaces.oldmodel;
/**
* This class is abstract class that [EMAIL PROTECTED] Project}
* and [EMAIL PROTECTED] Target} extend to provide information
* about the build process.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Peter Donald</a>
* @version $Revision: 1.1 $ $Date: 2002/06/11 04:18:30 $
*/
public abstract class AbstractUnit
{
/**
* The name of unit.
*/
private final String m_name;
/**
* The description of unit.
*/
private final String m_description;
/**
* Construct unit with name and specified description.
*
* @param name the name of unit
* @param description the unit description
*/
protected AbstractUnit( final String name,
final String description )
{
m_name = name;
m_description = description;
}
/**
* Retrieve the name of the Target.
*
* @return the name of the Target.
*/
public String getName()
{
return m_name;
}
/**
* Retrieve a description of the target.
*
* @return a description of the target.
*/
public String getDescription()
{
return m_description;
}
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>