Class AgentTypeKey
- java.lang.Object
-
- jetbrains.buildServer.serverSide.agentTypes.AgentTypeKey
-
- All Implemented Interfaces:
Comparable<AgentTypeKey>
public final class AgentTypeKey extends Object implements Comparable<AgentTypeKey>
Key for Agent Type.Value object.
-
-
Constructor Summary
Constructors Constructor Description AgentTypeKey(String cloudCode, String profileId, String typeId)Trivial constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Objectclone()intcompareTo(AgentTypeKey that)booleanequals(Object that)booleanequals(AgentTypeKey that)StringgetCloudCode()StringgetProfileId()StringgetTypeId()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
AgentTypeKey
public AgentTypeKey(@NotNull String cloudCode, @NotNull String profileId, @NotNull String typeId)Trivial constructor.- Parameters:
cloudCode- seegetCloudCode().profileId- seegetProfileId().typeId- seegetTypeId().
-
-
Method Detail
-
equals
public boolean equals(AgentTypeKey that)
-
compareTo
public int compareTo(AgentTypeKey that)
- Specified by:
compareToin interfaceComparable<AgentTypeKey>
-
getCloudCode
@NotNull public String getCloudCode()
- Returns:
- Name of the cloud.
Each cloud is represented by a special plugin. So, this name is an immutable property of that plugin.
Value - 1 to 6 characters from ASCII.
Unique in the system.
-
getProfileId
@NotNull public String getProfileId()
- Returns:
- Name of the cloud profile. Up to 30 characters.
Or
AgentTypeConsts.AGENT_CLOUD_PROFILEfor non-cloud agents.Unique in the one cloud scope.
-
getTypeId
@NotNull public String getTypeId()
- Returns:
- Name of the agent type in one profile.
Unique in the one profile scope.
Value: 1 to 60 characters.
-
-