public abstract class Annotated extends Object implements IAnnotated
Modifier and Type | Field and Description |
---|---|
static String |
TEST_CASE_PROPERTIES
The standard annotation for test case properties.
|
Constructor and Description |
---|
Annotated() |
Modifier and Type | Method and Description |
---|---|
void |
addAnnotations(Annotated other)
Adds annotations from another annotated element.
|
String |
getAnnotation(String name)
Returns the value of the given annotation.
|
int |
getAnnotationCount()
Returns the number of annotations defined.
|
List<String> |
getAnnotationList(String name)
Returns the
list represented by the value of the given annotation. |
Iterator<String> |
getAnnotations()
Returns the list of all annotation names.
|
void |
setAnnotation(String name,
String value)
Changes the value of the given annotation.
|
void |
setAnnotationList(String name,
Iterable<?> values)
Changes the value of the given annotation to a CSV string representing the given list.
|
public static final String TEST_CASE_PROPERTIES
public void setAnnotation(String name, String value)
public void setAnnotationList(String name, Iterable<?> values)
public void addAnnotations(Annotated other)
public String getAnnotation(String name)
getAnnotation
in interface IAnnotated
public List<String> getAnnotationList(String name)
list represented by the value
of the given annotation.public Iterator<String> getAnnotations()
getAnnotations
in interface IAnnotated
public int getAnnotationCount()
Copyright © 2024 The Cornutum Project. All rights reserved.