Browse Source

*** empty log message ***

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272484 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 23 years ago
parent
commit
96756cffeb
1 changed files with 45 additions and 0 deletions
  1. +45
    -0
      src/main/org/apache/tools/ant/taskdefs/optional/extension/Compatability.java

+ 45
- 0
src/main/org/apache/tools/ant/taskdefs/optional/extension/Compatability.java View File

@@ -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 <a href="mailto:peter@apache.org">Peter Donald</a>
* @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;
}
}

Loading…
Cancel
Save