Class ActivityBucketingStateType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ActivityBucketingStateType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class ActivityBucketingStateType extends Object implements Serializable, Cloneable, Containerable
Information about the bucket processing within an activity. It is present in both coordinator/standalone tasks ("buckets-holding" for short) and worker tasks.Java class for ActivityBucketingStateType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ActivityBucketingStateType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="bucket" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}WorkBucketType" maxOccurs="unbounded" minOccurs="0"/> <element name="numberOfBuckets" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="bucketsProcessingRole" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}BucketsProcessingRoleType" minOccurs="0"/> <element name="scavenging" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="scavenger" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="workComplete" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_BUCKET
static ItemName
F_BUCKETS_PROCESSING_ROLE
static ItemName
F_NUMBER_OF_BUCKETS
static ItemName
F_SCAVENGER
static ItemName
F_SCAVENGING
static ItemName
F_WORK_COMPLETE
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ActivityBucketingStateType()
ActivityBucketingStateType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_BUCKET
public static final ItemName F_BUCKET
-
F_NUMBER_OF_BUCKETS
public static final ItemName F_NUMBER_OF_BUCKETS
-
F_BUCKETS_PROCESSING_ROLE
public static final ItemName F_BUCKETS_PROCESSING_ROLE
-
F_SCAVENGING
public static final ItemName F_SCAVENGING
-
F_SCAVENGER
public static final ItemName F_SCAVENGER
-
F_WORK_COMPLETE
public static final ItemName F_WORK_COMPLETE
-
-
Constructor Detail
-
ActivityBucketingStateType
public ActivityBucketingStateType()
-
ActivityBucketingStateType
public ActivityBucketingStateType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:Containerable
Setup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValue
in interfaceContainerable
-
end
public <X> X end()
-
getBucket
public List<WorkBucketType> getBucket()
-
createBucketList
public List<WorkBucketType> createBucketList()
-
getNumberOfBuckets
public Integer getNumberOfBuckets()
-
setNumberOfBuckets
public void setNumberOfBuckets(Integer value)
-
getBucketsProcessingRole
public BucketsProcessingRoleType getBucketsProcessingRole()
-
setBucketsProcessingRole
public void setBucketsProcessingRole(BucketsProcessingRoleType value)
-
isScavenging
public Boolean isScavenging()
-
setScavenging
public void setScavenging(Boolean value)
-
isScavenger
public Boolean isScavenger()
-
setScavenger
public void setScavenger(Boolean value)
-
isWorkComplete
public Boolean isWorkComplete()
-
setWorkComplete
public void setWorkComplete(Boolean value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
bucket
public ActivityBucketingStateType bucket(WorkBucketType value)
-
beginBucket
public WorkBucketType beginBucket()
-
numberOfBuckets
public ActivityBucketingStateType numberOfBuckets(Integer value)
-
bucketsProcessingRole
public ActivityBucketingStateType bucketsProcessingRole(BucketsProcessingRoleType value)
-
scavenging
public ActivityBucketingStateType scavenging(Boolean value)
-
scavenger
public ActivityBucketingStateType scavenger(Boolean value)
-
workComplete
public ActivityBucketingStateType workComplete(Boolean value)
-
id
public ActivityBucketingStateType id(Long value)
-
clone
public ActivityBucketingStateType clone()
-
-