org.zeroturnaround.liverebel.bamboo
Class Server

java.lang.Object
  extended by org.zeroturnaround.liverebel.bamboo.Server
All Implemented Interfaces:
Serializable, org.zeroturnaround.liverebel.plugins.Server

public class Server
extends Object
implements Serializable, org.zeroturnaround.liverebel.plugins.Server

Author:
Mirko Adari
See Also:
Serialized Form

Constructor Summary
Server()
           
Server(String id, String title, String parentNames, int indentDepth, boolean selected, boolean connected, boolean isGroup)
           
 
Method Summary
 String getId()
           
 int getIndentDepth()
           
 String getIndentDepthAsCSSClass()
           
 String getParentNames()
           
 String getTitle()
           
 String getTitleRaw()
           
 boolean isChecked()
           
 boolean isConnected()
           
 boolean isGroup()
           
 void setChecked(boolean checked)
           
 void setConnected(boolean connected)
           
 void setGroup(boolean group)
           
 void setId(String id)
           
 void setIndentDepth(int indentDepth)
           
 void setParentNames(String parentNames)
           
 void setTitle(String title)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Server

public Server()

Server

public Server(String id,
              String title,
              String parentNames,
              int indentDepth,
              boolean selected,
              boolean connected,
              boolean isGroup)
Method Detail

setParentNames

public void setParentNames(String parentNames)

setGroup

public void setGroup(boolean group)

setIndentDepth

public void setIndentDepth(int indentDepth)

getTitle

public String getTitle()
Specified by:
getTitle in interface org.zeroturnaround.liverebel.plugins.Server
Returns:
the title

getTitleRaw

public String getTitleRaw()

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface org.zeroturnaround.liverebel.plugins.Server
Parameters:
title - the title to set

getId

public String getId()
Specified by:
getId in interface org.zeroturnaround.liverebel.plugins.Server
Returns:
the id

setId

public void setId(String id)
Specified by:
setId in interface org.zeroturnaround.liverebel.plugins.Server
Parameters:
id - the id to set

isConnected

public boolean isConnected()
Specified by:
isConnected in interface org.zeroturnaround.liverebel.plugins.Server
Returns:
the connected

setConnected

public void setConnected(boolean connected)
Specified by:
setConnected in interface org.zeroturnaround.liverebel.plugins.Server
Parameters:
connected - the connected to set

isChecked

public boolean isChecked()
Specified by:
isChecked in interface org.zeroturnaround.liverebel.plugins.Server
Returns:
the checked

setChecked

public void setChecked(boolean checked)
Specified by:
setChecked in interface org.zeroturnaround.liverebel.plugins.Server
Parameters:
checked - the checked to set

getIndentDepthAsCSSClass

public String getIndentDepthAsCSSClass()
Specified by:
getIndentDepthAsCSSClass in interface org.zeroturnaround.liverebel.plugins.Server

isGroup

public boolean isGroup()
Specified by:
isGroup in interface org.zeroturnaround.liverebel.plugins.Server

getParentNames

public String getParentNames()
Specified by:
getParentNames in interface org.zeroturnaround.liverebel.plugins.Server

getIndentDepth

public int getIndentDepth()
Specified by:
getIndentDepth in interface org.zeroturnaround.liverebel.plugins.Server

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 ZeroTurnaround OÜ. All Rights Reserved.