public class IssueNavigationConfiguration extends SimpleModificationTracker implements PersistentStateComponent<IssueNavigationConfiguration>
Modifier and Type | Class and Description |
---|---|
static class |
IssueNavigationConfiguration.LinkMatch |
EVER_CHANGED, NEVER_CHANGED
Constructor and Description |
---|
IssueNavigationConfiguration() |
Modifier and Type | Method and Description |
---|---|
java.util.List<IssueNavigationConfiguration.LinkMatch> |
findIssueLinks(java.lang.CharSequence text) |
static IssueNavigationConfiguration |
getInstance(Project project) |
java.util.List<IssueNavigationLink> |
getLinks() |
IssueNavigationConfiguration |
getState() |
void |
loadState(IssueNavigationConfiguration state)
This method is called when new component state is loaded.
|
void |
setLinks(java.util.List<? extends IssueNavigationLink> links) |
getModificationCount, incModificationCount
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public static IssueNavigationConfiguration getInstance(Project project)
public java.util.List<IssueNavigationLink> getLinks()
public void setLinks(java.util.List<? extends IssueNavigationLink> links)
public IssueNavigationConfiguration getState()
getState
in interface PersistentStateComponent<IssueNavigationConfiguration>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(IssueNavigationConfiguration state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<IssueNavigationConfiguration>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public java.util.List<IssueNavigationConfiguration.LinkMatch> findIssueLinks(java.lang.CharSequence text)