diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/extension/Compatability.java b/src/main/org/apache/tools/ant/taskdefs/optional/extension/Compatability.java new file mode 100644 index 000000000..fb9f5e54d --- /dev/null +++ b/src/main/org/apache/tools/ant/taskdefs/optional/extension/Compatability.java @@ -0,0 +1,45 @@ +/* + * 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.tools.ant.taskdefs.optional.extension; + +/** + * Enum used in (@link Extension) to indicate the compatability + * of one extension to another. See (@link Extension) for instances + * of object. + * + * @author Peter Donald + * @version $Revision$ $Date$ + * @see Extension + */ +public final class Compatability +{ + /** + * A string representaiton of compatability level. + */ + private final String m_name; + + /** + * Create a compatability enum with specified name. + * + * @param name the name of compatability level + */ + Compatability( final String name ) + { + m_name = name; + } + + /** + * Return name of compatability level. + * + * @return the name of compatability level + */ + public String toString() + { + return m_name; + } +}