com.starteam
Class ServerAdministration.ServerLogMode

java.lang.Object
  extended by com.starteam.ServerAdministration.ServerLogMode
Enclosing class:
ServerAdministration

public static final class ServerAdministration.ServerLogMode
extends java.lang.Object

Information about the log mode of the server.

See Also:
ServerAdministration.writeLogFile(java.io.File, com.starteam.ServerAdministration.ServerLogType, com.starteam.ServerAdministration.ServerLogMode[])

Field Summary
static ServerAdministration.ServerLogMode[] ALL
          All Log modes
static ServerAdministration.ServerLogMode LOG_ALL
          Log everything
static ServerAdministration.ServerLogMode LOG_ASSERTIONS
          Log the assertions
static ServerAdministration.ServerLogMode LOG_EXCEPTIONS
          Log the exceptions
static ServerAdministration.ServerLogMode LOG_MESSAGES
          Log messages
static ServerAdministration.ServerLogMode LOG_WARNINGS
          Log the warnings
 
Method Summary
 boolean equals(java.lang.Object o)
          compares two ServerLogMode's for equality
static ServerAdministration.ServerLogMode fromID(int id)
          Gets the LogMode value corresponding to the given ID.
 int getID()
          The ID of the corresponding LogMode.
 java.lang.String getName()
           
 int hashCode()
          returns the hash code for this mode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG_ALL

public static final ServerAdministration.ServerLogMode LOG_ALL
Log everything


LOG_ASSERTIONS

public static final ServerAdministration.ServerLogMode LOG_ASSERTIONS
Log the assertions


LOG_EXCEPTIONS

public static final ServerAdministration.ServerLogMode LOG_EXCEPTIONS
Log the exceptions


LOG_MESSAGES

public static final ServerAdministration.ServerLogMode LOG_MESSAGES
Log messages


LOG_WARNINGS

public static final ServerAdministration.ServerLogMode LOG_WARNINGS
Log the warnings


ALL

public static final ServerAdministration.ServerLogMode[] ALL
All Log modes

Method Detail

getName

public java.lang.String getName()

getID

public int getID()
The ID of the corresponding LogMode.

Returns:
The ID of this Status value.

fromID

public static ServerAdministration.ServerLogMode fromID(int id)
Gets the LogMode value corresponding to the given ID.

Parameters:
id - A LogMode ID.
Returns:
The corresponding LogMode value, or null.

equals

public boolean equals(java.lang.Object o)
compares two ServerLogMode's for equality

Overrides:
equals in class java.lang.Object
Parameters:
o - the other ServerLogMode to compare
Returns:
true if the two are considered equal

hashCode

public int hashCode()
returns the hash code for this mode

Overrides:
hashCode in class java.lang.Object
Returns:
a hash code for this mode


StarTeam SDK 14.0, Build 21
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.