com.dynatrace.diagnostics.pdk
Interface ActionEnvironment

All Superinterfaces:
PluginEnvironment

public interface ActionEnvironment
extends PluginEnvironment

The environment for Action Plugins.

This environment extends the Plugin environment by a method to retrieve incidents.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.dynatrace.diagnostics.pdk.PluginEnvironment
PluginEnvironment.Host
 
Method Summary
 java.util.Collection<Incident> getIncidents()
          Returns incidents that occurred since the last execution.
 com.dynatrace.diagnostics.sdk.ServerAccessWarrant getServerAccess()
          Get server access with permissions of the user who configured execution of the plugin.
 java.lang.String getSystemProfileName()
          Returns the Name of the System Profile for this Action
 
Methods inherited from interface com.dynatrace.diagnostics.pdk.PluginEnvironment
getConfigBoolean, getConfigDate, getConfigDouble, getConfigFile, getConfigLong, getConfigPassword, getConfigString, getConfigUrl, getHost, isStopped
 

Method Detail

getIncidents

java.util.Collection<Incident> getIncidents()
Returns incidents that occurred since the last execution.

Returns:
a Collection of Incidents

getSystemProfileName

java.lang.String getSystemProfileName()
Returns the Name of the System Profile for this Action

Returns:
the Name of the System Profile for this Action

getServerAccess

com.dynatrace.diagnostics.sdk.ServerAccessWarrant getServerAccess()
Get server access with permissions of the user who configured execution of the plugin. The server access is available only if the plugin is executed on the dynaTrace Server.

Returns:
the server access or null if access is not possible or allowed


Copyright © 2004-2012 dynaTrace software GmbH