com.microsoft.tfs.core.util.serverlist
Class ServerListCollectionEntry

java.lang.Object
  extended by com.microsoft.tfs.core.util.serverlist.ServerListEntry
      extended by com.microsoft.tfs.core.util.serverlist.ServerListCollectionEntry
All Implemented Interfaces:
java.lang.Comparable<ServerListCollectionEntry>

public class ServerListCollectionEntry
extends ServerListEntry
implements java.lang.Comparable<ServerListCollectionEntry>

Thread-safety:
unknown

Constructor Summary
ServerListCollectionEntry(java.lang.String name, ServerListEntryType type, java.net.URI uri)
           
ServerListCollectionEntry(java.lang.String name, ServerListEntryType type, java.net.URI uri, java.lang.Boolean offline)
           
 
Method Summary
 int compareTo(ServerListCollectionEntry other)
           
 boolean equals(java.lang.Object o)
           
 java.lang.Boolean getOffline()
           
 int hashCode()
           
 void setOffline(java.lang.Boolean offline)
           
 
Methods inherited from class com.microsoft.tfs.core.util.serverlist.ServerListEntry
compareTo, getName, getType, getURI
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerListCollectionEntry

public ServerListCollectionEntry(java.lang.String name,
                                 ServerListEntryType type,
                                 java.net.URI uri)

ServerListCollectionEntry

public ServerListCollectionEntry(java.lang.String name,
                                 ServerListEntryType type,
                                 java.net.URI uri,
                                 java.lang.Boolean offline)
Method Detail

getOffline

public java.lang.Boolean getOffline()

setOffline

public void setOffline(java.lang.Boolean offline)

compareTo

public int compareTo(ServerListCollectionEntry other)
Specified by:
compareTo in interface java.lang.Comparable<ServerListCollectionEntry>

hashCode

public int hashCode()
Overrides:
hashCode in class ServerListEntry

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class ServerListEntry


© 2015 Microsoft. All rights reserved.