Class EntityId<INT>
- java.lang.Object
-
- jetbrains.buildServer.serverSide.identifiers.EntityId<INT>
-
- Type Parameters:
INT
- type of internal id.
public final class EntityId<INT> extends Object
Entity complex identifier. Holds internal and external ids of the entity.The internal identifier is immutable BUT the external one is mutable.
- Since:
- 8.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getConfigId()
Long
getDeleteTime()
String
getExternalId()
External id.INT
getInternalId()
Internal id.String
getOriginProjectIntId()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
EntityId
public EntityId(@NotNull INT internalId, @NotNull String externalId, @NotNull String configId, @Nullable String originProjectIntId, @Nullable Long deleteTime)
A trivial constructor.- Parameters:
internalId
- internal identifier.externalId
- external identifier.configId
- guid.originProjectIntId
- internal id of the origin projectdeleteTime
- delete time
-
-
Method Detail
-
getInternalId
@NotNull public INT getInternalId()
Internal id.- Returns:
- internal id.
-
getConfigId
@NotNull public String getConfigId()
-
getExternalId
@NotNull public String getExternalId()
External id.- Returns:
- external id.
-
getOriginProjectIntId
@Nullable public String getOriginProjectIntId()
-
getDeleteTime
@Nullable public Long getDeleteTime()
-
-