com.metamatrix.console.ui.views.runtime.util
Class RuntimeMgmtUtils

java.lang.Object
  extended by com.metamatrix.console.ui.views.runtime.util.RuntimeMgmtUtils
All Implemented Interfaces:
ServiceStateConstants

public final class RuntimeMgmtUtils
extends java.lang.Object
implements ServiceStateConstants


Field Summary
static java.text.SimpleDateFormat DATE_FORMATTER
           
static javax.swing.border.EmptyBorder EMPTY_BORDER
           
static int ODBC_UNAVAILABLE_SERVICE_STATE
           
static java.lang.String PROPS
           
static boolean[][] VALID_SERV_OPS
           
 
Fields inherited from interface com.metamatrix.console.ui.views.runtime.util.ServiceStateConstants
CLOSED, DATA_SOURCE_UNAVAILABLE, FAILED, INIT_FAILED, NOT_INITIALIZED, NOT_REGISTERED, OPEN, SHOW_SERVICE_ERROR, SHOW_SERVICE_ERROR_ORDINAL_POSITION, SHOWPROCESS, SHOWPROCESS_ORDINAL_POSITION, SHOWQUEUE, SHOWQUEUE_ORDINAL_POSITION, SHOWQUEUES, SHOWQUEUES_ORDINAL_POSITION, START, START_ORDINAL_POSITION, STOP, STOP_NOW, STOP_NOW_ORDINAL_POSITION, STOP_ORDINAL_POSITION, TOTAL_DISPLAYED_OPERATIONS, TOTAL_OPERATIONS
 
Method Summary
static TextFieldWidget createTextField(java.lang.String theType)
           
static boolean getBoolean(java.lang.String theKey)
           
static java.awt.Color getColor(java.lang.String theKey)
           
static javax.swing.Icon getIcon(java.lang.String theKey)
           
static int getInt(java.lang.String theKey, int theDefault)
           
static int getMnemonic(java.lang.String theKey)
           
static boolean[] getOperationsEnablements(HostData theHost)
           
static boolean[] getOperationsEnablements(ProcessData theProcess)
           
static boolean[] getOperationsEnablements(ServiceData theService)
           
static boolean[] getServiceOperationsEnablements(int theState)
           
static java.awt.Color getServiceStateColor(int theState)
           
static java.lang.String getServiceStateText(int theState)
           
static java.lang.String getServiceStateToolTip(ServiceData theService)
           
static java.awt.Color getStateColor(boolean theDeployedFlag, boolean theRegisteredFlag)
           
static java.lang.String getString(java.lang.String theKey)
           
static java.lang.String getString(java.lang.String theKey, boolean theReturnNullFlag)
           
static java.lang.String getString(java.lang.String theKey, java.lang.Object[] theArgs)
           
static boolean isSameHost(HostData theHost, ConnectionInfo connection)
           
static boolean isSameHost(ProcessData theProcess, ConnectionInfo connection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ODBC_UNAVAILABLE_SERVICE_STATE

public static final int ODBC_UNAVAILABLE_SERVICE_STATE
See Also:
Constant Field Values

EMPTY_BORDER

public static final javax.swing.border.EmptyBorder EMPTY_BORDER

PROPS

public static final java.lang.String PROPS
See Also:
Constant Field Values

DATE_FORMATTER

public static final java.text.SimpleDateFormat DATE_FORMATTER

VALID_SERV_OPS

public static final boolean[][] VALID_SERV_OPS
Method Detail

createTextField

public static TextFieldWidget createTextField(java.lang.String theType)

getBoolean

public static boolean getBoolean(java.lang.String theKey)

getColor

public static java.awt.Color getColor(java.lang.String theKey)

getIcon

public static javax.swing.Icon getIcon(java.lang.String theKey)

getInt

public static int getInt(java.lang.String theKey,
                         int theDefault)

getMnemonic

public static int getMnemonic(java.lang.String theKey)

isSameHost

public static boolean isSameHost(HostData theHost,
                                 ConnectionInfo connection)

isSameHost

public static boolean isSameHost(ProcessData theProcess,
                                 ConnectionInfo connection)

getOperationsEnablements

public static boolean[] getOperationsEnablements(HostData theHost)

getOperationsEnablements

public static boolean[] getOperationsEnablements(ProcessData theProcess)

getOperationsEnablements

public static boolean[] getOperationsEnablements(ServiceData theService)

getServiceOperationsEnablements

public static boolean[] getServiceOperationsEnablements(int theState)

getServiceStateColor

public static java.awt.Color getServiceStateColor(int theState)

getServiceStateText

public static java.lang.String getServiceStateText(int theState)

getServiceStateToolTip

public static java.lang.String getServiceStateToolTip(ServiceData theService)

getStateColor

public static java.awt.Color getStateColor(boolean theDeployedFlag,
                                           boolean theRegisteredFlag)

getString

public static java.lang.String getString(java.lang.String theKey)

getString

public static java.lang.String getString(java.lang.String theKey,
                                         boolean theReturnNullFlag)

getString

public static java.lang.String getString(java.lang.String theKey,
                                         java.lang.Object[] theArgs)


Copyright © 2009. All Rights Reserved.