public enum TagRepository extends java.lang.Enum<TagRepository>
| Enum Constant and Description |
|---|
INSTANCE
Singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTag(java.lang.String name,
java.lang.String value,
TagType type,
java.lang.String source)
Adds tag and its value.
|
java.util.List<Tag> |
getTags()
Return available tags.
|
static TagRepository |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TagRepository[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TagRepository INSTANCE
public static TagRepository[] values()
for (TagRepository c : TagRepository.values()) System.out.println(c);
public static TagRepository valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic void addTag(java.lang.String name,
java.lang.String value,
TagType type,
java.lang.String source)
name - Tag namevalue - Tag valuepublic java.util.List<Tag> getTags()
Copyright © 2010-2020 anotheria.net. All Rights Reserved.