com.starbase.starteam
Class HiveManager

java.lang.Object
  |
  +--com.starbase.starteam.HiveManager

public class HiveManager
extends java.lang.Object

Manages vault hives on the server.


Constructor Summary
HiveManager(Server server)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object source)
          returns true if this object instance is equal to the source
 HiveInfo[] getHiveInfo()
          Returns the current set of HiveInfos from the server, or null if new vault format is not supported on this server.
 int hashCode()
          returns a unique hash for all instances of this type
 boolean setHiveInfo(HiveInfo[] info)
          Updates the set of HiveInfos at the server, and returns true if the changes require the server to be restarted before they fully take effect.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HiveManager

public HiveManager(Server server)
Constructor.

Method Detail

getHiveInfo

public HiveInfo[] getHiveInfo()
Returns the current set of HiveInfos from the server, or null if new vault format is not supported on this server. Available on server release 7.0 and later.

Returns:
the current set of HiveInfos from the server, or null if new vault format is not supported on this server.
See Also:
HiveInfo

setHiveInfo

public boolean setHiveInfo(HiveInfo[] info)
Updates the set of HiveInfos at the server, and returns true if the changes require the server to be restarted before they fully take effect. Available on server release 7.0 and later.

Parameters:
info - an array of hiveInfos supported on this server, including additions and modified HiveInfos.
Returns:
true if the changes require a server restart, otherwise false.
See Also:
HiveInfo

equals

public boolean equals(java.lang.Object source)
returns true if this object instance is equal to the source

Overrides:
equals in class java.lang.Object
Parameters:
source - Object the source to comapre with
Returns:
boolean true if this object is equal to the source

hashCode

public int hashCode()
returns a unique hash for all instances of this type

Overrides:
hashCode in class java.lang.Object
Returns:
int a unique hash for all instances of this type


StarTeam SDK 10.4, Build 36
Copyright © 2003-2008 Borland Software Corporation. All rights reserved.