|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjetbrains.buildServer.serverSide.AgentCompatibility
public class AgentCompatibility
Presents information about conpatibility the given agent with the specified configuration.
| Constructor Summary | |
|---|---|
AgentCompatibility(AgentDescription agentDescription,
SBuildType buildType,
boolean isActive)
Creates new empty compatibility instance. |
|
AgentCompatibility(CompatibilityResult compatibilityResult,
AgentDescription agentDescription,
SBuildType buildType,
boolean isActive)
Create a new compatibility instance copying the existence yet calculated compatibility result. |
|
| Method Summary | |
|---|---|
AgentDescription |
getAgentDescription()
Specified agent description. |
SBuildType |
getBuildType()
Specified configuration. |
RunType |
getIncompatibleRunner()
Returns incompatible runner (i.e. |
java.util.List<InvalidProperty> |
getInvalidRunParameters()
Returns invalid runner parameters list. |
java.util.Map<java.lang.String,java.lang.String> |
getMissedVcsPluginsOnAgent()
Returns map of VCS plugins required by build configuration which are not installed on the agent. |
java.util.List<Requirement> |
getNonMatchedRequirements()
Returns list of non matched requirements |
boolean |
isActive()
Returns true if the specified agent (agent type) is in agent pool which is associated with the project of the specified build type |
boolean |
isCompatible()
Returns true if build configuration is compatible with agent |
boolean |
isSuitableRunnerExists()
Returns true if the specified agent has suitable runner for the configuration. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AgentCompatibility(@NotNull
AgentDescription agentDescription,
@NotNull
SBuildType buildType,
boolean isActive)
agentDescription - specified agent description.buildType - speified configuration.
public AgentCompatibility(@NotNull
CompatibilityResult compatibilityResult,
@NotNull
AgentDescription agentDescription,
@NotNull
SBuildType buildType,
boolean isActive)
agentDescription - specified agent description.buildType - speified configuration.| Method Detail |
|---|
@NotNull public AgentDescription getAgentDescription()
@NotNull public SBuildType getBuildType()
public boolean isActive()
public boolean isCompatible()
CompatibilityResult
isCompatible in interface CompatibilityResultpublic boolean isSuitableRunnerExists()
CompatibilityResult
isSuitableRunnerExists in interface CompatibilityResult@Nullable public RunType getIncompatibleRunner()
CompatibilityResult
getIncompatibleRunner in interface CompatibilityResult@NotNull public java.util.List<InvalidProperty> getInvalidRunParameters()
CompatibilityResult
getInvalidRunParameters in interface CompatibilityResult@NotNull public java.util.List<Requirement> getNonMatchedRequirements()
CompatibilityResult
getNonMatchedRequirements in interface CompatibilityResult@NotNull public java.util.Map<java.lang.String,java.lang.String> getMissedVcsPluginsOnAgent()
CompatibilityResult
getMissedVcsPluginsOnAgent in interface CompatibilityResultpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||