public class NodeSupport extends java.lang.Object implements IFrameworkNodes
| Constructor and Description |
|---|
NodeSupport() |
| Modifier and Type | Method and Description |
|---|---|
NodeEntryImpl |
createFrameworkNode() |
INodeSet |
filterAuthorizedNodes(java.lang.String project,
java.util.Set<java.lang.String> actions,
INodeSet unfiltered,
com.dtolabs.rundeck.core.authorization.AuthContext authContext) |
java.lang.String |
getFrameworkNodeHostname()
Gets the value of "framework.server.hostname" property
|
java.lang.String |
getFrameworkNodeName()
Gets the value of "framework.server.name" property
|
IPropertyLookup |
getLookup() |
INodeDesc |
getNodeDesc()
Gets the
INodeDesc value describing the framework node |
static java.lang.String |
getOsFamily() |
boolean |
isLocalNode(INodeDesc node)
Return true if the node is the local framework node.
|
void |
setLookup(IPropertyLookup lookup) |
public java.lang.String getFrameworkNodeHostname()
getFrameworkNodeHostname in interface IFrameworkNodespublic java.lang.String getFrameworkNodeName()
getFrameworkNodeName in interface IFrameworkNodespublic NodeEntryImpl createFrameworkNode()
createFrameworkNode in interface IFrameworkNodespublic static java.lang.String getOsFamily()
public INodeSet filterAuthorizedNodes(java.lang.String project, java.util.Set<java.lang.String> actions, INodeSet unfiltered, com.dtolabs.rundeck.core.authorization.AuthContext authContext)
filterAuthorizedNodes in interface IFrameworkNodesproject - project nameactions - action setunfiltered - nodesauthContext - authoriziationpublic INodeDesc getNodeDesc()
INodeDesc value describing the framework nodegetNodeDesc in interface IFrameworkNodesINodeDesc object for this framework instancepublic boolean isLocalNode(INodeDesc node)
isLocalNode in interface IFrameworkNodesnode - the nodepublic IPropertyLookup getLookup()
public void setLookup(IPropertyLookup lookup)