com.atlassian.theplugin.commons.cfg
Class BambooServerCfg
java.lang.Object
com.atlassian.theplugin.commons.cfg.ServerCfg
com.atlassian.theplugin.commons.cfg.BambooServerCfg
- All Implemented Interfaces:
- Server
public class BambooServerCfg
- extends ServerCfg
Methods inherited from class com.atlassian.theplugin.commons.cfg.ServerCfg |
asFishEyeServer, getName, getPassword, getServerId, getUrl, getUsername, isComplete, isEnabled, isPasswordStored, setEnabled, setName, setPassword, setPasswordStored, setServerId, setUrl, setUsername |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
BambooServerCfg
public BambooServerCfg(java.lang.String name,
ServerId serverId)
BambooServerCfg
public BambooServerCfg(java.lang.String name,
java.lang.String url,
ServerId serverId)
BambooServerCfg
public BambooServerCfg(boolean enabled,
java.lang.String name,
ServerId serverId)
BambooServerCfg
public BambooServerCfg(BambooServerCfg other)
getServerType
public ServerType getServerType()
- Specified by:
getServerType
in class ServerCfg
isUseFavourites
public boolean isUseFavourites()
getSubscribedPlans
public java.util.Collection<SubscribedPlan> getSubscribedPlans()
clearSubscribedPlans
public void clearSubscribedPlans()
setUseFavourites
public void setUseFavourites(boolean useFavourites)
getTimezoneOffset
public int getTimezoneOffset()
setTimezoneOffset
public void setTimezoneOffset(int timezoneOffset)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class ServerCfg
hashCode
public int hashCode()
- Overrides:
hashCode
in class ServerCfg
toString
public java.lang.String toString()
- Overrides:
toString
in class ServerCfg
setIsBamboo2
public void setIsBamboo2(boolean b)
isBamboo2
public boolean isBamboo2()
getPlans
public java.util.Collection<SubscribedPlan> getPlans()
setPlans
public void setPlans(java.util.Collection<SubscribedPlan> plans)
getClone
public BambooServerCfg getClone()
- Description copied from class:
ServerCfg
- Returns real clone (deep copy of this object).
It intentionally does not use standard Java Cloneable as it sucks terriblyk
- Specified by:
getClone
in class ServerCfg
- Returns:
- deep copy
readResolve
protected java.lang.Object readResolve()
- Overrides:
readResolve
in class ServerCfg
createPrivateProjectConfiguration
public PrivateServerCfgInfo createPrivateProjectConfiguration()
- Overrides:
createPrivateProjectConfiguration
in class ServerCfg
mergePrivateConfiguration
public void mergePrivateConfiguration(PrivateServerCfgInfo psci)
- Overrides:
mergePrivateConfiguration
in class ServerCfg
Copyright © 2008-2009 Atlassian Pty Ltd. All Rights Reserved.