Class CRUDELogBuilder
- java.lang.Object
-
- org.bonitasoft.engine.queriablelogger.model.builder.impl.CRUDELogBuilder
-
- All Implemented Interfaces:
HasCRUDEAction
,SLogBuilder
- Direct Known Subclasses:
SActorLogBuilderImpl
,SADataInstanceLogBuilderImpl
,SApplicationLogBuilderImpl
,SApplicationMenuLogBuilderImpl
,SApplicationPageLogBuilderImpl
,SCategoryLogBuilderImpl
,SCommandLogBuilderImpl
,SContactInfoLogBuilderImpl
,SContractDataLogBuilder
,SCustomUserInfoDefinitionLogBuilderImpl
,SDependencyLogBuilderImpl
,SDependencyMappingLogBuilderImpl
,SExternalIdentityMappingLogBuilderImpl
,SGroupLogBuilderImpl
,SPageLogBuilderImpl
,SPlatformCommandLogBuilderImpl
,SProcessDefinitionLogBuilderImpl
,SProcessSupervisorLogBuilderImpl
,SProfileLogBuilderImpl
,SProfileMemberLogBuilderImpl
,SRefBusinessDataInstanceLogBuilderImpl
,SRoleLogBuilderImpl
,SUserLogBuilderImpl
,SUserMembershipLogBuilderImpl
public abstract class CRUDELogBuilder extends java.lang.Object implements HasCRUDEAction, SLogBuilder
- Author:
- Elias Ricken de Medeiros, Nicolas Chabanoles, Matthieu Chaffotte
-
-
Field Summary
Fields Modifier and Type Field Description protected SQueriableLogBuilder
queriableLogBuilder
-
Constructor Summary
Constructors Modifier Constructor Description protected
CRUDELogBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description SLogBuilder
actionScope(java.lang.String scope)
SLogBuilder
actionStatus(int status)
SQueriableLog
build()
SLogBuilder
callerClassName(java.lang.String callerClassName)
SLogBuilder
callerMethodName(java.lang.String callerMethodName)
protected abstract void
checkExtraRules(SQueriableLog log)
SLogBuilder
clusterNode(java.lang.String clusterNode)
protected abstract java.lang.String
getActionTypePrefix()
SLogBuilder
productVersion(java.lang.String productVersion)
SLogBuilder
rawMessage(java.lang.String rawMessage)
SLogBuilder
setActionType(ActionType actionType)
SLogBuilder
severity(SQueriableLogSeverity severity)
SLogBuilder
userId(java.lang.String userId)
-
-
-
Field Detail
-
queriableLogBuilder
protected SQueriableLogBuilder queriableLogBuilder
-
-
Method Detail
-
getActionTypePrefix
protected abstract java.lang.String getActionTypePrefix()
-
setActionType
public SLogBuilder setActionType(ActionType actionType)
- Specified by:
setActionType
in interfaceHasCRUDEAction
-
userId
public SLogBuilder userId(java.lang.String userId)
- Specified by:
userId
in interfaceSLogBuilder
-
clusterNode
public SLogBuilder clusterNode(java.lang.String clusterNode)
- Specified by:
clusterNode
in interfaceSLogBuilder
-
productVersion
public SLogBuilder productVersion(java.lang.String productVersion)
- Specified by:
productVersion
in interfaceSLogBuilder
-
severity
public SLogBuilder severity(SQueriableLogSeverity severity)
- Specified by:
severity
in interfaceSLogBuilder
-
actionScope
public SLogBuilder actionScope(java.lang.String scope)
- Specified by:
actionScope
in interfaceSLogBuilder
-
actionStatus
public SLogBuilder actionStatus(int status)
- Specified by:
actionStatus
in interfaceSLogBuilder
-
rawMessage
public SLogBuilder rawMessage(java.lang.String rawMessage)
- Specified by:
rawMessage
in interfaceSLogBuilder
-
callerClassName
public SLogBuilder callerClassName(java.lang.String callerClassName)
- Specified by:
callerClassName
in interfaceSLogBuilder
-
callerMethodName
public SLogBuilder callerMethodName(java.lang.String callerMethodName)
- Specified by:
callerMethodName
in interfaceSLogBuilder
-
build
public SQueriableLog build()
- Specified by:
build
in interfaceSLogBuilder
-
checkExtraRules
protected abstract void checkExtraRules(SQueriableLog log)
-
-