nl.lxtreme.ols.util.internal
Class HostResourceProperties

java.lang.Object
  extended by nl.lxtreme.ols.util.internal.HostResourceProperties
All Implemented Interfaces:
HostProperties

public class HostResourceProperties
extends Object
implements HostProperties

Provides a class that holds some client properties, such as the version and so on.


Method Summary
 String getExecutionEnvironment()
          
 String getFullName()
          Returns the current value of fullName.
 String getOSName()
          
 String getOSVersion()
          
 String getProcessor()
          
 String getReportIncidentAddress()
          Returns the email address to use for reporting incidents.
 String getShortName()
          Returns the current value of shortName.
 String getVersion()
          Returns the version of the client.
 boolean isDebugMode()
          Returns whether or not debugging is enabled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getExecutionEnvironment

public String getExecutionEnvironment()

Specified by:
getExecutionEnvironment in interface HostProperties
Returns:

getFullName

public String getFullName()
Returns the current value of fullName.

Specified by:
getFullName in interface HostProperties
Returns:
the fullName

getOSName

public String getOSName()

Specified by:
getOSName in interface HostProperties
Returns:

getOSVersion

public String getOSVersion()

Specified by:
getOSVersion in interface HostProperties
Returns:

getProcessor

public String getProcessor()

Specified by:
getProcessor in interface HostProperties
Returns:

getReportIncidentAddress

public String getReportIncidentAddress()
Returns the email address to use for reporting incidents.

Specified by:
getReportIncidentAddress in interface HostProperties
Returns:
a report incident email address, never null.

getShortName

public String getShortName()
Returns the current value of shortName.

Specified by:
getShortName in interface HostProperties
Returns:
the shortName

getVersion

public String getVersion()
Returns the version of the client.

Specified by:
getVersion in interface HostProperties
Returns:
a version string, never null.

isDebugMode

public boolean isDebugMode()
Returns whether or not debugging is enabled.

Useful for additional checks, logging and so on.

Specified by:
isDebugMode in interface HostProperties
Returns:
true if debug mode is enabled, false otherwise.


Copyright © 2012 L'Xtreme IT consultancy. All Rights Reserved.