com.evolveum.midpoint.xml.ns._public.common.common_1
Class TaskStatusType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_1.TaskStatusType
All Implemented Interfaces:
java.io.Serializable

public class TaskStatusType
extends java.lang.Object
implements java.io.Serializable

The status of the task. WARNING: This type definition is UNSTABLE. It may change any time without a notice. Do not use unless you really know what you are doing.

Java class for TaskStatusType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="TaskStatusType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="running" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="launchTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="finishTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="progress" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="lastStatus" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="numberOfErrors" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="lastError" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}DiagnosticsMessageType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  javax.xml.datatype.XMLGregorianCalendar finishTime
           
protected  DiagnosticsMessageType lastError
           
protected  java.lang.String lastStatus
           
protected  javax.xml.datatype.XMLGregorianCalendar launchTime
           
protected  java.lang.String name
           
protected  java.lang.Long numberOfErrors
           
protected  java.lang.Long progress
           
protected  boolean running
           
 
Constructor Summary
TaskStatusType()
           
 
Method Summary
 javax.xml.datatype.XMLGregorianCalendar getFinishTime()
          Gets the value of the finishTime property.
 DiagnosticsMessageType getLastError()
          Gets the value of the lastError property.
 java.lang.String getLastStatus()
          Gets the value of the lastStatus property.
 javax.xml.datatype.XMLGregorianCalendar getLaunchTime()
          Gets the value of the launchTime property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.Long getNumberOfErrors()
          Gets the value of the numberOfErrors property.
 java.lang.Long getProgress()
          Gets the value of the progress property.
 boolean isRunning()
          Gets the value of the running property.
 void setFinishTime(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the finishTime property.
 void setLastError(DiagnosticsMessageType value)
          Sets the value of the lastError property.
 void setLastStatus(java.lang.String value)
          Sets the value of the lastStatus property.
 void setLaunchTime(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the launchTime property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setNumberOfErrors(java.lang.Long value)
          Sets the value of the numberOfErrors property.
 void setProgress(java.lang.Long value)
          Sets the value of the progress property.
 void setRunning(boolean value)
          Sets the value of the running property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

running

protected boolean running

launchTime

protected javax.xml.datatype.XMLGregorianCalendar launchTime

finishTime

protected javax.xml.datatype.XMLGregorianCalendar finishTime

progress

protected java.lang.Long progress

lastStatus

protected java.lang.String lastStatus

numberOfErrors

protected java.lang.Long numberOfErrors

lastError

protected DiagnosticsMessageType lastError
Constructor Detail

TaskStatusType

public TaskStatusType()
Method Detail

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

isRunning

public boolean isRunning()
Gets the value of the running property.


setRunning

public void setRunning(boolean value)
Sets the value of the running property.


getLaunchTime

public javax.xml.datatype.XMLGregorianCalendar getLaunchTime()
Gets the value of the launchTime property.

Returns:
possible object is XMLGregorianCalendar

setLaunchTime

public void setLaunchTime(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the launchTime property.

Parameters:
value - allowed object is XMLGregorianCalendar

getFinishTime

public javax.xml.datatype.XMLGregorianCalendar getFinishTime()
Gets the value of the finishTime property.

Returns:
possible object is XMLGregorianCalendar

setFinishTime

public void setFinishTime(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the finishTime property.

Parameters:
value - allowed object is XMLGregorianCalendar

getProgress

public java.lang.Long getProgress()
Gets the value of the progress property.

Returns:
possible object is Long

setProgress

public void setProgress(java.lang.Long value)
Sets the value of the progress property.

Parameters:
value - allowed object is Long

getLastStatus

public java.lang.String getLastStatus()
Gets the value of the lastStatus property.

Returns:
possible object is String

setLastStatus

public void setLastStatus(java.lang.String value)
Sets the value of the lastStatus property.

Parameters:
value - allowed object is String

getNumberOfErrors

public java.lang.Long getNumberOfErrors()
Gets the value of the numberOfErrors property.

Returns:
possible object is Long

setNumberOfErrors

public void setNumberOfErrors(java.lang.Long value)
Sets the value of the numberOfErrors property.

Parameters:
value - allowed object is Long

getLastError

public DiagnosticsMessageType getLastError()
Gets the value of the lastError property.

Returns:
possible object is DiagnosticsMessageType

setLastError

public void setLastError(DiagnosticsMessageType value)
Sets the value of the lastError property.

Parameters:
value - allowed object is DiagnosticsMessageType


Copyright © 2011 evolveum. All Rights Reserved.