Class UserHelper
- java.lang.Object
-
- jetbrains.buildServer.serverSide.audit.helpers.UserHelper
-
- All Implemented Interfaces:
ObjectTypeHelper
public class UserHelper extends Object
- Author:
- Maxim.Manuylov Date: 29.12.2009
-
-
Constructor Summary
Constructors Constructor Description UserHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
doGetLog4jDescription(User object)
protected String
doGetObjectExternalId(T object)
protected String
doGetObjectId(User object)
protected String
doGetObjectName(User object)
String
getLog4jDescription(Object object)
T
getObject(Object object)
String
getObjectExternalId(Object object)
String
getObjectId(Object object)
String
getObjectName(Object object)
protected boolean
mustAddQuotesToName()
boolean
objectWasRenamed(Object object, String oldName)
-
-
-
Method Detail
-
objectWasRenamed
public boolean objectWasRenamed(@NotNull Object object, @NotNull String oldName)
- Specified by:
objectWasRenamed
in interfaceObjectTypeHelper
-
getLog4jDescription
@NotNull public String getLog4jDescription(@NotNull Object object)
- Specified by:
getLog4jDescription
in interfaceObjectTypeHelper
-
getObjectId
@NotNull public String getObjectId(@NotNull Object object)
- Specified by:
getObjectId
in interfaceObjectTypeHelper
-
getObjectExternalId
@NotNull public String getObjectExternalId(@NotNull Object object)
- Specified by:
getObjectExternalId
in interfaceObjectTypeHelper
-
getObjectName
@NotNull public String getObjectName(@NotNull Object object)
- Specified by:
getObjectName
in interfaceObjectTypeHelper
-
mustAddQuotesToName
protected boolean mustAddQuotesToName()
-
getObject
@NotNull public T getObject(@NotNull Object object)
-
doGetObjectExternalId
@NotNull protected String doGetObjectExternalId(@NotNull T object)
-
-