Class MetadataImpl<T>
- java.lang.Object
-
- org.jboss.weld.bootstrap.spi.helpers.MetadataImpl<T>
-
-
Field Summary
Fields Modifier and Type Field Description static StringLOCATION_NOT_AVAILABLE
-
Constructor Summary
Constructors Constructor Description MetadataImpl(T value)MetadataImpl(T value, String location)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> MetadataImpl<T>from(T value)StringgetLocation()The location of the metadata, used in error and log messagesTgetValue()The metadata valueStringtoString()
-
-
-
Field Detail
-
LOCATION_NOT_AVAILABLE
public static final String LOCATION_NOT_AVAILABLE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MetadataImpl
public MetadataImpl(T value)
- Parameters:
value- type of metadata that this class holds
-
-
Method Detail
-
from
public static <T> MetadataImpl<T> from(T value)
-
getLocation
public String getLocation()
Description copied from interface:MetadataThe location of the metadata, used in error and log messages- Specified by:
getLocationin interfaceMetadata<T>- Returns:
- location of the metadata, used in error and log messages
-
-