public interface

ServiceUser

implements StashUser
com.atlassian.stash.user.ServiceUser

Class Overview

Represents a registered service user of Stash.

Service users are not backed by a user from a Crowd directory and are not able to authenticate via the Stash UI. Service users can be used to programmatically perform tasks which require an associated user and do not count towards the licensed user count.

Summary

Constants
String DEFAULT_LABEL
[Expand]
Inherited Constants
From interface com.atlassian.stash.user.StashUser
[Expand]
Inherited Fields
From interface com.atlassian.stash.user.Person
From interface com.atlassian.stash.user.StashUser
Public Methods
@Nonnull String getLabel()
[Expand]
Inherited Methods
From interface com.atlassian.stash.user.Person
From interface com.atlassian.stash.user.StashUser
From interface java.security.Principal

Constants

public static final String DEFAULT_LABEL

Constant Value: "bot"

Public Methods

@Nonnull public String getLabel ()

Returns
  • a label to help identify the type of ServiceUser