com.atlassian.plugin
Class Plugin.EnabledMetricsSource.Default

java.lang.Object
  extended by com.atlassian.plugin.Plugin.EnabledMetricsSource.Default
Enclosing interface:
Plugin.EnabledMetricsSource

public static class Plugin.EnabledMetricsSource.Default
extends Object

Host to default implementations of the Plugin.EnabledMetricsSource methods.


Constructor Summary
Plugin.EnabledMetricsSource.Default()
           
 
Method Summary
static Date getDateEnabled(Plugin plugin)
          Default implementation for Plugin.EnabledMetricsSource.getDateEnabled().
static Date getDateEnabling(Plugin plugin)
          Default implementation for Plugin.EnabledMetricsSource.getDateEnabling().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Plugin.EnabledMetricsSource.Default

public Plugin.EnabledMetricsSource.Default()
Method Detail

getDateEnabling

@Nullable
public static Date getDateEnabling(Plugin plugin)
Default implementation for Plugin.EnabledMetricsSource.getDateEnabling().

Parameters:
plugin - the plugin to query, which may implement EnabledMetricsSource.
Returns:
plugin.getDateEnabling if available, otherwise null.

getDateEnabled

@Nullable
public static Date getDateEnabled(Plugin plugin)
Default implementation for Plugin.EnabledMetricsSource.getDateEnabled().

Parameters:
plugin - the plugin to query, which may implement EnabledMetricsSource.
Returns:
plugin.getDateEnabled if available, otherwise null.


Copyright © 2015 Atlassian. All rights reserved.