public class PluginEnabledState extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static long |
UNKNOWN_ENABLED_TIME |
| Constructor and Description |
|---|
PluginEnabledState(boolean enabled)
Deprecated.
in 4.5 for removal in 6.0. Use
PluginEnabledState(boolean, long) or
getPluginEnabledStateWithCurrentTime(boolean) instead |
PluginEnabledState(boolean enabled,
long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static PluginEnabledState |
getPluginEnabledStateWithCurrentTime(boolean enabled) |
long |
getTimestamp() |
int |
hashCode() |
Boolean |
isEnabled() |
public static final long UNKNOWN_ENABLED_TIME
public PluginEnabledState(boolean enabled,
long timestamp)
@Deprecated public PluginEnabledState(boolean enabled)
PluginEnabledState(boolean, long) or
getPluginEnabledStateWithCurrentTime(boolean) insteadenabled - whether the plugin is or should be enabledpublic Boolean isEnabled()
public long getTimestamp()
public static PluginEnabledState getPluginEnabledStateWithCurrentTime(boolean enabled)
Copyright © 2019 Atlassian. All rights reserved.