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 boolean
equals(Object o)
static ActionIdentifier
fromKey(@NotNull String key)
String
getKey()
Retrieve an unique key for this action identifier.@NotNull String
getName()
Unique name of the action, to allow future identification.@NotNull ActionType
getType()
Type of the action.int
hashCode()
String
toString()
-
-
-
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.
-
-