public class HostInfo extends Object
| Constructor and Description |
|---|
HostInfo(String name,
List<com.redhat.foreman.HostInfo.Parameter> parameters) |
| Modifier and Type | Method and Description |
|---|---|
String |
getJavaPath()
Path to executable to be launched on node side to start the agent.
|
String |
getLabels()
String of label tokens.
|
Set<hudson.model.labels.LabelAtom> |
getLabelSet() |
String |
getName()
Name of the host.
|
String |
getRemoteFs()
Path to remote Jenkins FS.
|
String |
getReservedFor()
Identification of the current owner of the machine.
|
boolean |
isReserved() |
boolean |
satisfies(hudson.model.Label label)
Determine whether this host matches label expression.
|
public String getName()
public String getLabels()
public boolean satisfies(@CheckForNull hudson.model.Label label)
Label.matches(Collection) for convenience of provisioning clients as they
have to deal with the label == null.label - Label for matching.public String getRemoteFs()
@CheckForNull public String getJavaPath()
@CheckForNull public String getReservedFor()
public boolean isReserved()
Copyright © 2016–2017. All rights reserved.