Interface SlaAuditInstanceBuilder
- All Known Implementing Classes:
SlaAuditInstanceBuilderImpl
public interface SlaAuditInstanceBuilder
Helper for creating a new SLA audit instance.
-
Method Summary
Modifier and TypeMethodDescriptionSet the app key of the SLA audit instancecompletionDueDuration
(Long completionDueDuration) Set the in completion dueduration of the SLA audit instancecompletionDueTime
(Date completionDueTime) Set the in completion due date of the SLA audit instancecreate()
Create the SLA audit instancecreateTime
(Date createTime) Set the create time of the SLA audit instanceinProgressStartDueDuration
(Long inProgressStartDueDuration) Set the in progress start due duration of the SLA audit instanceinProgressStartDueTime
(Date inProgressStartDueTime) Set the in progress start due date of the SLA audit instancepayload
(com.fasterxml.jackson.databind.JsonNode payload) Set the payload of the SLA audit instancerootScopeDefinitionKey
(String rootScopeDefinitionKey) Set the root scope definition key of the SLA audit instancerootScopeId
(String rootScopeId) Set the root scope id of the SLA audit instancerootScopeType
(String rootScopeType) Set the root scope type of the SLA audit instancescopeDefinitionKey
(String scopeDefinitionKey) Set the scope definition key of the SLA audit instanceSet the scope id of the SLA audit instanceSet the scope type of the SLA audit instanceslaDefinitionKey
(String slaDefinitionKey) Set the key of the SLA definitionsubScopeDefinitionKey
(String subScopeDefinitionKey) Set the sub scope definition key of the SLA audit instancesubScopeId
(String subScopeId) Set the sub scope id of the SLA audit instanceSet the tenantId of SLA audit instance
-
Method Details
-
scopeId
Set the scope id of the SLA audit instance -
subScopeId
Set the sub scope id of the SLA audit instance -
rootScopeId
Set the root scope id of the SLA audit instance -
scopeType
Set the scope type of the SLA audit instance -
rootScopeType
Set the root scope type of the SLA audit instance -
scopeDefinitionKey
Set the scope definition key of the SLA audit instance -
subScopeDefinitionKey
Set the sub scope definition key of the SLA audit instance -
rootScopeDefinitionKey
Set the root scope definition key of the SLA audit instance -
appKey
Set the app key of the SLA audit instance -
slaDefinitionKey
Set the key of the SLA definition -
createTime
Set the create time of the SLA audit instance -
inProgressStartDueTime
Set the in progress start due date of the SLA audit instance -
completionDueTime
Set the in completion due date of the SLA audit instance -
inProgressStartDueDuration
Set the in progress start due duration of the SLA audit instance -
completionDueDuration
Set the in completion dueduration of the SLA audit instance -
tenantId
Set the tenantId of SLA audit instance -
payload
Set the payload of the SLA audit instance -
create
SlaAuditInstance create()Create the SLA audit instance- Throws:
FlowableIllegalArgumentException
- if slaDefinitionKey or the scope information are null
-