com.metamatrix.admin.objects
Class MMHost

java.lang.Object
  extended by com.metamatrix.admin.objects.MMAdminObject
      extended by com.metamatrix.admin.objects.MMHost
All Implemented Interfaces:
Host, java.io.Serializable, AdminObject

public final class MMHost
extends MMAdminObject
implements Host

Simple Host object for the Admin API as represented in the Configuration

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.metamatrix.admin.objects.MMAdminObject
deployed, enabled, identifier, identifierParts, name, registered
 
Fields inherited from interface com.metamatrix.admin.api.Host
HOST_BIND_ADDRESS, HOST_DIRECTORY, HOST_ENABLED, HOST_PHYSICAL_ADDRESS, INSTALL_DIR, LOG_DIRECTORY
 
Fields inherited from interface org.teiid.adminapi.AdminObject
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD
 
Constructor Summary
MMHost(java.lang.String[] identifierParts)
          Constructor for creating a MMHost
 
Method Summary
 boolean isRunning()
          Return true if this Host is running
 void setRunning(boolean running)
          Set if this Host has been deployed and is executing
 java.lang.String toString()
          Create a String for this MMHost
 
Methods inherited from class com.metamatrix.admin.objects.MMAdminObject
buildIdentifier, buildIdentifierArray, buildIdentifierList, getCreated, getCreatedBy, getCreatedDate, getIdentifier, getIdentifierArray, getLastChangedBy, getLastChangedDate, getLastUpdated, getLastUpdatedBy, getName, getNameFromIdentifier, getParentName, getProperties, getPropertiesAsString, getPropertyValue, getProps, isEnabled, isRegistered, setCreated, setCreatedBy, setEnabled, setIdentifier, setLastUpdated, setLastUpdatedBy, setProperties, setRegistered
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.teiid.adminapi.AdminObject
getIdentifier, getName, getProperties, getPropertyValue
 

Constructor Detail

MMHost

public MMHost(java.lang.String[] identifierParts)
Constructor for creating a MMHost

Parameters:
identifierParts - of the Host
Method Detail

toString

public java.lang.String toString()
Create a String for this MMHost

Specified by:
toString in class MMAdminObject
Since:
4.3
See Also:
Object.toString()

isRunning

public boolean isRunning()
Return true if this Host is running

Specified by:
isRunning in interface Host
Returns:
if this Host is running
Since:
4.3

setRunning

public void setRunning(boolean running)
Set if this Host has been deployed and is executing

Parameters:
running -
Since:
4.3


Copyright © 2009. All Rights Reserved.