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 Details

    • ActionIdentifier

      public ActionIdentifier(@NotNull @NotNull ActionType type, @NotNull @NotNull String name)
      Parameters:
      type - type of the action
      name - name of the action
  • Method Details

    • fromKey

      public static ActionIdentifier fromKey(@NotNull @NotNull String key)
      Parameters:
      key - unique key of this action identifier
      See Also:
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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.