Package com.amazonaws.xray.plugins
Interface Plugin
-
- All Known Implementing Classes:
EC2Plugin,ECSPlugin,EKSPlugin,ElasticBeanstalkPlugin
public interface Plugin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.util.Set<AWSLogReference>getLogReferences()java.lang.StringgetOrigin()Returns the name of the origin associated with this plugin.java.util.Map<java.lang.String,@Nullable java.lang.Object>getRuntimeContext()java.lang.StringgetServiceName()default booleanisEnabled()
-
-
-
Method Detail
-
getOrigin
java.lang.String getOrigin()
Returns the name of the origin associated with this plugin. TheAWSXRayRecordercontains a prioritized list of origins from least to most specific.- Returns:
- the name of the origin associated with this plugin.
-
getServiceName
java.lang.String getServiceName()
-
isEnabled
default boolean isEnabled()
- Returns:
- true if an environment inspection determines X-Ray is operating in the correct environment for this plugin OR if X-Ray cannot accurately determine if it's in this plugin's environment
-
getRuntimeContext
java.util.Map<java.lang.String,@Nullable java.lang.Object> getRuntimeContext()
-
getLogReferences
default java.util.Set<AWSLogReference> getLogReferences()
-
-