Package com.atlassian.bamboo.performance
Class ActionIdentifier
- java.lang.Object
-
- com.atlassian.bamboo.performance.ActionIdentifier
-
@Internal public class ActionIdentifier extends Object
Unique identifier of an action or a call for which performance can be measured.
-
-
Constructor Summary
Constructors Constructor Description ActionIdentifier(@NotNull ActionType type, @NotNull String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static ActionIdentifierfromKey(@NotNull String key)StringgetKey()Retrieve an unique key for this action identifier.@NotNull StringgetName()Unique name of the action, to allow future identification.@NotNull ActionTypegetType()Type of the action.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
ActionIdentifier
public ActionIdentifier(@NotNull @NotNull ActionType type, @NotNull @NotNull String name)- Parameters:
type- type of the actionname- name of the action
-
-
Method Detail
-
fromKey
public static ActionIdentifier fromKey(@NotNull @NotNull String key)
- Parameters:
key- unique key of this action identifier- See Also:
getKey()
-
getKey
public String getKey()
Retrieve an unique key for this action identifier.
-
getType
@NotNull public @NotNull ActionType getType()
Type of the action.
-
getName
@NotNull public @NotNull String getName()
Unique name of the action, to allow future identification.
-
-