terp - the Codemesh Modular
Template Interpreter v1.3.309

com.codemesh.terp.data
Class Host.Impl

java.lang.Object
  extended by com.codemesh.terp.data.Host.Impl
All Implemented Interfaces:
Named, Host
Enclosing interface:
Host

public static final class Host.Impl
extends java.lang.Object
implements Host


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.codemesh.terp.data.Host
Host.Impl
 
Field Summary
static CaseInsensitiveTreeMap<Host> ALL_HOSTS
           
 
Method Summary
 void addProcArch(ProcArch pa)
           
 void addProcArchs(java.util.Collection<ProcArch> pa)
           
 int compareTo(Host o)
           
 boolean equals(java.lang.Object obj)
           
static Host fromMap(java.util.Map<java.lang.String,java.lang.Object> data)
           
static Host fromString(java.lang.String name)
           
 java.net.InetAddress getAddress()
           
 java.net.InetAddress[] getAddresses()
           
 CaseInsensitiveTreeMap getEnv()
           
 java.lang.String getName()
          Returns the named object's name.
 OS getOS()
           
 java.util.Collection<ProcArch> getProcArchs()
           
 ShellExecutor getShell()
           
 CaseInsensitiveTreeMap getSoftware()
           
 int hashCode()
           
 void setAddress(java.net.InetAddress address)
           
 void setName(java.lang.String name)
           
 void setOS(OS os)
           
 void setProcArchs(java.util.Collection<ProcArch> pa)
           
 void setShell(ShellExecutor shell)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ALL_HOSTS

public static final CaseInsensitiveTreeMap<Host> ALL_HOSTS
Method Detail

fromString

public static Host fromString(java.lang.String name)

fromMap

public static Host fromMap(java.util.Map<java.lang.String,java.lang.Object> data)

getAddresses

public java.net.InetAddress[] getAddresses()
Specified by:
getAddresses in interface Host

setAddress

public void setAddress(java.net.InetAddress address)
Specified by:
setAddress in interface Host

getAddress

public java.net.InetAddress getAddress()
Specified by:
getAddress in interface Host

setName

public void setName(java.lang.String name)
Specified by:
setName in interface Host

getName

public java.lang.String getName()
Description copied from interface: Named
Returns the named object's name.

Specified by:
getName in interface Named
Specified by:
getName in interface Host
Returns:
the name.

addProcArchs

public void addProcArchs(java.util.Collection<ProcArch> pa)
Specified by:
addProcArchs in interface Host

addProcArch

public void addProcArch(ProcArch pa)
Specified by:
addProcArch in interface Host

setProcArchs

public void setProcArchs(java.util.Collection<ProcArch> pa)
Specified by:
setProcArchs in interface Host

getProcArchs

public java.util.Collection<ProcArch> getProcArchs()
Specified by:
getProcArchs in interface Host

setShell

public void setShell(ShellExecutor shell)
Specified by:
setShell in interface Host

getShell

public ShellExecutor getShell()
Specified by:
getShell in interface Host

setOS

public void setOS(OS os)
Specified by:
setOS in interface Host

getOS

public OS getOS()
Specified by:
getOS in interface Host

getSoftware

public CaseInsensitiveTreeMap getSoftware()
Specified by:
getSoftware in interface Host

getEnv

public CaseInsensitiveTreeMap getEnv()
Specified by:
getEnv in interface Host

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(Host o)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

terp - the Codemesh Modular
Template Interpreter v1.3.309

Copyright © 2008-2012 by Codemesh, Inc. All Rights Reserved.