Class StructuredTaskProgressType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.StructuredTaskProgressType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class StructuredTaskProgressType extends Object implements Serializable, Cloneable, Containerable
Task progress information in a structured form. It considers task parts and buckets. It is named "structured" as opposed to single progress counter that has been present in the task since early ages. <p>Java class for StructuredTaskProgressType complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="StructuredTaskProgressType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="currentPartUri" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> <element name="currentPartNumber" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="expectedParts" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="part" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TaskPartProgressType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_CURRENT_PART_NUMBER
static ItemName
F_CURRENT_PART_URI
static ItemName
F_EXPECTED_PARTS
static ItemName
F_PART
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description StructuredTaskProgressType()
StructuredTaskProgressType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValue
asPrismContainerValue()
TaskPartProgressType
beginPart()
StructuredTaskProgressType
clone()
List<TaskPartProgressType>
createPartList()
StructuredTaskProgressType
currentPartNumber(Integer value)
StructuredTaskProgressType
currentPartUri(String value)
<X> X
end()
boolean
equals(Object object)
StructuredTaskProgressType
expectedParts(Integer value)
Integer
getCurrentPartNumber()
String
getCurrentPartUri()
Integer
getExpectedParts()
List<TaskPartProgressType>
getPart()
int
hashCode()
StructuredTaskProgressType
part(TaskPartProgressType value)
void
setCurrentPartNumber(Integer value)
void
setCurrentPartUri(String value)
void
setExpectedParts(Integer value)
void
setupContainerValue(PrismContainerValue containerValue)
Setup value to the containerable representation.String
toString()
-
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_CURRENT_PART_URI
public static final ItemName F_CURRENT_PART_URI
-
F_CURRENT_PART_NUMBER
public static final ItemName F_CURRENT_PART_NUMBER
-
F_EXPECTED_PARTS
public static final ItemName F_EXPECTED_PARTS
-
F_PART
public static final ItemName F_PART
-
-
Constructor Detail
-
StructuredTaskProgressType
public StructuredTaskProgressType()
-
StructuredTaskProgressType
public StructuredTaskProgressType(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()
-
getCurrentPartUri
public String getCurrentPartUri()
-
setCurrentPartUri
public void setCurrentPartUri(String value)
-
getCurrentPartNumber
public Integer getCurrentPartNumber()
-
setCurrentPartNumber
public void setCurrentPartNumber(Integer value)
-
getExpectedParts
public Integer getExpectedParts()
-
setExpectedParts
public void setExpectedParts(Integer value)
-
getPart
public List<TaskPartProgressType> getPart()
-
createPartList
public List<TaskPartProgressType> createPartList()
-
currentPartUri
public StructuredTaskProgressType currentPartUri(String value)
-
currentPartNumber
public StructuredTaskProgressType currentPartNumber(Integer value)
-
expectedParts
public StructuredTaskProgressType expectedParts(Integer value)
-
part
public StructuredTaskProgressType part(TaskPartProgressType value)
-
beginPart
public TaskPartProgressType beginPart()
-
clone
public StructuredTaskProgressType clone()
-
-