com.dtolabs.rundeck.core.common
Interface INodeEntry

All Superinterfaces:
INodeBase, INodeDesc
All Known Implementing Classes:
NodeEntryImpl

public interface INodeEntry
extends INodeBase, INodeDesc

INodeEntry describes a node definition


Method Summary
 boolean containsPort()
          Return true if the hostname string includes embedded port in the "hostname:port" pattern
 boolean containsUserName()
          Return true if the hostname string includes embedded username in the "username@hostname" pattern
 java.lang.String extractHostname()
          Return the standalone hostname value extracted from the hostname string
 java.lang.String extractPort()
          Return the port string extracted from the hostname
 java.lang.String extractUserName()
          Return the username extracted from the hostname
 java.util.Map<java.lang.String,java.lang.String> getAttributes()
          Get the map of attributes for the node, which includes all of the attributes for these accessors as well:

osFamily, osArch, osVersion, osName, name*, username, description, tags*.

 java.lang.String getDescription()
          Return the description
 java.lang.String getFrameworkProject()
          Return the project name if it is set
 java.lang.String getNodename()
          Return the name of the node
 java.lang.String getOsArch()
          Return the OS architecture
 java.lang.String getOsFamily()
          Return the OS family
 java.lang.String getOsName()
          Return the OS name
 java.lang.String getOsVersion()
          Return the OS version
 java.util.Set getTags()
          Return the set of tag strings
 java.lang.String getUsername()
          Return the username
 
Methods inherited from interface com.dtolabs.rundeck.core.common.INodeDesc
equals, getHostname
 

Method Detail

getOsFamily

java.lang.String getOsFamily()
Return the OS family


getOsArch

java.lang.String getOsArch()
Return the OS architecture


getOsVersion

java.lang.String getOsVersion()
Return the OS version


getOsName

java.lang.String getOsName()
Return the OS name


getNodename

java.lang.String getNodename()
Return the name of the node

Specified by:
getNodename in interface INodeBase
Specified by:
getNodename in interface INodeDesc
Returns:

getUsername

java.lang.String getUsername()
Return the username


containsUserName

boolean containsUserName()
Return true if the hostname string includes embedded username in the "username@hostname" pattern


containsPort

boolean containsPort()
Return true if the hostname string includes embedded port in the "hostname:port" pattern


extractUserName

java.lang.String extractUserName()
Return the username extracted from the hostname


extractHostname

java.lang.String extractHostname()
Return the standalone hostname value extracted from the hostname string


extractPort

java.lang.String extractPort()
Return the port string extracted from the hostname


getFrameworkProject

java.lang.String getFrameworkProject()
Return the project name if it is set


getDescription

java.lang.String getDescription()
Return the description


getTags

java.util.Set getTags()
Return the set of tag strings


getAttributes

java.util.Map<java.lang.String,java.lang.String> getAttributes()
Get the map of attributes for the node, which includes all of the attributes for these accessors as well:

osFamily, osArch, osVersion, osName, name*, username, description, tags*.

The Node name is returned as under the key "name".

The tags are returned as a String under the key "tags".

Returns:
attributes