Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.product
Class PlatformDetector

java.lang.Object
  extended by org.hyperic.hq.product.GenericPlugin
      extended by org.hyperic.hq.product.PlatformDetector

public class PlatformDetector
extends GenericPlugin

Detect platform attributes


Field Summary
static boolean IS_WIN32
           
static java.lang.String[] PLATFORM_NAMES
           
static java.lang.String[] UNIX_PLATFORM_NAMES
           
static java.lang.String[] WIN32_PLATFORM_NAMES
           
 
Fields inherited from class org.hyperic.hq.product.GenericPlugin
config, FILE_DELIM, FILE_DELIM_ESC, PROP_NAME
 
Constructor Summary
PlatformDetector()
           
 
Method Summary
 PlatformResource getPlatformResource(ConfigResponse config)
           
static boolean isSupportedPlatform(java.lang.String name)
           
static boolean isWin32(java.lang.String name)
           
 
Methods inherited from class org.hyperic.hq.product.GenericPlugin
adjustClassPath, configure, getAbsoluteFiles, getConfig, getConfig, getConfigSchema, getCustomPropertiesSchema, getCustomPropertiesSchema, getCustomPropertiesSchema, getDefaultInstallPath, getLog, getLogName, getManagerProperty, getName, getPlatformName, getPluginClassName, getPluginData, getPluginProperty, getProductPlugin, getProperties, getScriptExtension, getScriptExtension, getScriptExtension, getTypeInfo, getTypeNameProperty, getTypeNameProperty, getTypeProperties, getTypeProperty, getTypeProperty, getTypeProperty, init, isNetStatEnabled, isWin32, openResource, setData, setName, setTypeInfo, shutdown, toFileList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IS_WIN32

public static final boolean IS_WIN32

UNIX_PLATFORM_NAMES

public static final java.lang.String[] UNIX_PLATFORM_NAMES

WIN32_PLATFORM_NAMES

public static java.lang.String[] WIN32_PLATFORM_NAMES

PLATFORM_NAMES

public static final java.lang.String[] PLATFORM_NAMES
Constructor Detail

PlatformDetector

public PlatformDetector()
Method Detail

isSupportedPlatform

public static boolean isSupportedPlatform(java.lang.String name)

isWin32

public static boolean isWin32(java.lang.String name)

getPlatformResource

public PlatformResource getPlatformResource(ConfigResponse config)
                                     throws PluginException
Throws:
PluginException

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.