com.atlassian.theplugin.commons.cfg
Class BambooServerCfg

java.lang.Object
  extended by com.atlassian.theplugin.commons.cfg.ServerCfg
      extended by com.atlassian.theplugin.commons.cfg.BambooServerCfg
All Implemented Interfaces:
Server

public class BambooServerCfg
extends ServerCfg


Constructor Summary
BambooServerCfg(BambooServerCfg other)
           
BambooServerCfg(boolean enabled, java.lang.String name, ServerId serverId)
           
BambooServerCfg(java.lang.String name, ServerId serverId)
           
BambooServerCfg(java.lang.String name, java.lang.String url, ServerId serverId)
           
 
Method Summary
 void clearSubscribedPlans()
           
 PrivateServerCfgInfo createPrivateProjectConfiguration()
           
 boolean equals(java.lang.Object o)
           
 BambooServerCfg getClone()
          Returns real clone (deep copy of this object).
 java.util.Collection<SubscribedPlan> getPlans()
           
 ServerType getServerType()
           
 java.util.Collection<SubscribedPlan> getSubscribedPlans()
           
 int getTimezoneOffset()
           
 int hashCode()
           
 boolean isBamboo2()
           
 boolean isUseFavourites()
           
 void mergePrivateConfiguration(PrivateServerCfgInfo psci)
           
protected  java.lang.Object readResolve()
           
 void setIsBamboo2(boolean b)
           
 void setPlans(java.util.Collection<SubscribedPlan> plans)
           
 void setTimezoneOffset(int timezoneOffset)
           
 void setUseFavourites(boolean useFavourites)
           
 java.lang.String toString()
           
 
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
 

Constructor Detail

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)
Method Detail

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.