Class AgentInfo
- java.lang.Object
-
- org.jenkinsci.plugins.durabletask.AgentInfo
-
- All Implemented Interfaces:
Serializable
public final class AgentInfo extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AgentInfo.GetAgentInfo
static class
AgentInfo.OsType
-
Constructor Summary
Constructors Constructor Description AgentInfo(AgentInfo.OsType os, String architecture, boolean binaryCompatible, String binaryPath, boolean cachingAvailable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getArchitecture()
String
getBinaryPath()
AgentInfo.OsType
getOs()
boolean
isBinaryCached()
boolean
isBinaryCompatible()
boolean
isCachingAvailable()
void
setBinaryAvailability(boolean isCached)
-
-
-
Constructor Detail
-
AgentInfo
public AgentInfo(AgentInfo.OsType os, String architecture, boolean binaryCompatible, String binaryPath, boolean cachingAvailable)
-
-
Method Detail
-
getOs
public AgentInfo.OsType getOs()
-
getArchitecture
public String getArchitecture()
-
getBinaryPath
public String getBinaryPath()
-
setBinaryAvailability
public void setBinaryAvailability(boolean isCached)
-
isBinaryCompatible
public boolean isBinaryCompatible()
-
isBinaryCached
public boolean isBinaryCached()
-
isCachingAvailable
public boolean isCachingAvailable()
-
-