public class PushSettings extends java.lang.Object implements PersistentStateComponent<PushSettings.State>
Modifier and Type | Class and Description |
---|---|
static class |
PushSettings.State |
Constructor and Description |
---|
PushSettings() |
Modifier and Type | Method and Description |
---|---|
void |
addForcePushTarget(java.lang.String targetRemote,
java.lang.String targetBranch) |
boolean |
containsForcePushTarget(java.lang.String remote,
java.lang.String branch) |
boolean |
getShowDetailsInPushDialog() |
PushSettings.State |
getState() |
void |
loadState(PushSettings.State state)
This method is called when new component state is loaded.
|
void |
setShowDetailsInPushDialog(boolean value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public PushSettings.State getState()
getState
in interface PersistentStateComponent<PushSettings.State>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(PushSettings.State state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<PushSettings.State>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public boolean containsForcePushTarget(java.lang.String remote, java.lang.String branch)
public void addForcePushTarget(java.lang.String targetRemote, java.lang.String targetBranch)
public boolean getShowDetailsInPushDialog()
public void setShowDetailsInPushDialog(boolean value)