Class AgentHelper
- java.lang.Object
-
- jetbrains.buildServer.serverSide.audit.helpers.AgentHelper
-
- All Implemented Interfaces:
ObjectTypeHelper
public class AgentHelper extends Object
- Author:
- Maxim.Manuylov Date: 29.12.2009
-
-
Constructor Summary
Constructors Constructor Description AgentHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
doGetLog4jDescription(SBuildAgent object)
protected String
doGetObjectExternalId(T object)
protected String
doGetObjectId(SBuildAgent object)
protected String
doGetObjectName(SBuildAgent 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
-
doGetLog4jDescription
@NotNull protected String doGetLog4jDescription(@NotNull SBuildAgent object)
-
doGetObjectName
@NotNull protected String doGetObjectName(@NotNull SBuildAgent object)
-
doGetObjectId
@NotNull protected String doGetObjectId(@NotNull SBuildAgent object)
-
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()
-
objectWasRenamed
public boolean objectWasRenamed(@NotNull Object object, @NotNull String oldName)
- Specified by:
objectWasRenamed
in interfaceObjectTypeHelper
-
getObject
@NotNull public T getObject(@NotNull Object object)
-
doGetObjectExternalId
@NotNull protected String doGetObjectExternalId(@NotNull T object)
-
-