Class OperationInfo.OperationInfoBuilder
- java.lang.Object
-
- de.hybris.platform.core.threadregistry.OperationInfo.OperationInfoBuilder
-
- Enclosing class:
- OperationInfo
public static final class OperationInfo.OperationInfoBuilder extends java.lang.ObjectBuilder forOperationInfo.
-
-
Method Summary
-
-
-
Method Detail
-
withCategory
public OperationInfo.OperationInfoBuilder withCategory(OperationInfo.Category category)
-
withCategory
public OperationInfo.OperationInfoBuilder withCategory(java.lang.String category)
-
asNotSuspendableOperation
public OperationInfo.OperationInfoBuilder asNotSuspendableOperation()
-
asSuspendableOperation
public OperationInfo.OperationInfoBuilder asSuspendableOperation()
-
asSuspendableOperation
public OperationInfo.OperationInfoBuilder asSuspendableOperation(boolean canHandleDbFailures)
-
withTenant
public OperationInfo.OperationInfoBuilder withTenant(java.lang.String tenantId)
-
withStatusInfo
public OperationInfo.OperationInfoBuilder withStatusInfo(java.lang.String statusInfo)
-
withCronJobCode
@Beta public OperationInfo.OperationInfoBuilder withCronJobCode(java.lang.String code)
PLEASE NOTE: This API is in the beta stage, it can be changed or even removed in a future release. Compatibility with other features is not guaranteed.
-
withBusinessProcessCode
@Beta public OperationInfo.OperationInfoBuilder withBusinessProcessCode(java.lang.String code)
PLEASE NOTE: This API is in the beta stage, it can be changed or even removed in a future release. Compatibility with other features is not guaranteed.
-
withAspectNameIfPresent
@Beta public OperationInfo.OperationInfoBuilder withAspectNameIfPresent(java.lang.String aspect)
PLEASE NOTE: This API is in the beta stage, it can be changed or even removed in a future release. Compatibility with other features is not guaranteed.
-
withAdditionalAttributes
public OperationInfo.OperationInfoBuilder withAdditionalAttributes(java.util.Map<java.lang.String,java.lang.String> additionalAttributes)
-
withAdditionalAttribute
public OperationInfo.OperationInfoBuilder withAdditionalAttribute(@Nonnull java.lang.String key, java.lang.String value)
-
build
public OperationInfo build()
-
-