1 | package org.apache.tools.ant.taskdefs.optional.extension;↵ | | 1 | package org.apache.tools.ant.taskdefs.optional.extension;↵
|
|
2 | /**↵ | | 2 | /**↵
|
3 | * Enum used in (@link Extension) to indicate the compatability↵ | | 3 | * Enum used in (@link Extension) to indicate the compatibility↵
|
4 | * of one extension to another. See (@link Extension) for instances↵ | | 4 | * of one extension to another. See (@link Extension) for instances↵
|
5 | * of object.↵ | | 5 | * of object.↵
|
6 | *↵ | | 6 | *↵
|
7 | * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING↵ | | 7 | * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING↵
|
8 | * This file is from excalibur.extension package. Dont edit this file↵ | | 8 | * This file is from excalibur.extension package. Dont edit this file↵
|
9 | * directly as there is no unit tests to make sure it is operational↵ | | 9 | * directly as there is no unit tests to make sure it is operational↵
|
10 | * in ant. Edit file in excalibur and run tests there before changing↵ | | 10 | * in ant. Edit file in excalibur and run tests there before changing↵
|
11 | * ants file.↵ | | 11 | * ants file.↵
|
12 | * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING↵ | | 12 | * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING↵
|
13 | *↵ | | 13 | *↵
|
14 | * @see Extension↵ | | 14 | * @see Extension↵
|
15 | */↵ | | 15 | */↵
|
16 | public final class Compatability {↵ | | 16 | public final class Compatibility {↵
|
17 | /**↵ | | 17 | /**↵
|
18 | * A string representaiton of compatability level.↵ | | 18 | * A string representaiton of compatibility level.↵
|
19 | */↵ | | 19 | */↵
|
20 | private final String name;↵ | | 20 | private final String name;↵
|
|
21 | /**↵ | | 21 | /**↵
|
22 | * Create a compatability enum with specified name.↵ | | 22 | * Create a compatibility enum with specified name.↵
|
23 | *↵ | | 23 | *↵
|
24 | * @param name the name of compatability level↵ | | 24 | * @param name the name of compatibility level↵
|
25 | */↵ | | 25 | */↵
|
26 | Compatability(final String name) {↵ | | 26 | Compatibility(final String name) {↵
|
27 | this.name = name;↵ | | 27 | this.name = name;↵
|
28 | }↵ | | 28 | }↵
|
|
29 | /**↵ | | 29 | /**↵
|
30 | * Return name of compatability level.↵ | | 30 | * Return name of compatibility level.↵
|
31 | *↵ | | 31 | *↵
|
32 | * @return the name of compatability level↵ | | 32 | * @return the name of compatibility level↵
|
33 | */↵ | | 33 | */↵
|
34 | public String toString() {↵ | | 34 | public String toString() {↵
|
35 | return name;↵ | | 35 | return name;↵
|
36 | } | | 36 | }
|