Package jetbrains.buildServer.xmlrpc
Interface NodeIdHolder
-
- All Known Implementing Classes:
BuildNodeIdHolder
public interface NodeIdHolder
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
NodeIdHolder.NodeIdOrigin
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getExpirationTime()
NodeIdHolder.NodeIdOrigin
getNodeIdOrigin()
String
getOwnerNodeId()
void
setOwnerNodeId(String nodeId, Date expirationTime, NodeIdHolder.NodeIdOrigin nodeIdOrigin)
Sets a new id of the owning node.
-
-
-
Method Detail
-
getOwnerNodeId
@Nullable String getOwnerNodeId()
- Returns:
- id of the owning node or null if this id is not known
-
getExpirationTime
int getExpirationTime()
- Returns:
- expiration time in seconds from the current time
-
setOwnerNodeId
void setOwnerNodeId(@NotNull String nodeId, @Nullable Date expirationTime, @Nullable NodeIdHolder.NodeIdOrigin nodeIdOrigin)
Sets a new id of the owning node.- Parameters:
nodeId
- id of the nodeexpirationTime
- expiration time for the specified node id, or null if there is no expiration time
-
getNodeIdOrigin
@NotNull NodeIdHolder.NodeIdOrigin getNodeIdOrigin()
-
-