MoleQueue 0.9.0
Loading...
Searching...
No Matches
JobEventList Class Reference

#include <jobeventlist.h>

Public Member Functions

 JobEventList (const JobEventList &other)
QList< JobEventjobEvents () const
bool isValid () const
QString xml () const

Static Public Member Functions

static JobEventList fromXml (const QString &xml)
static JobEventList fromXml (const QString &xml, const QString &userName, QList< qint64 > jobIds)

Detailed Description

class used to model a UIT JobEvent list.

Constructor & Destructor Documentation

◆ JobEventList()

JobEventList ( const JobEventList & other)
Parameters
otherThe instance to copy.

Member Function Documentation

◆ jobEvents()

QList< JobEvent > jobEvents ( ) const
Returns
The list of JobEvents.

◆ isValid()

bool isValid ( ) const
Returns
true, if the instance represents a valid JobEventList document, false otherwise.

◆ xml()

QString xml ( ) const
Returns
The raw XML that this object was generated from.

◆ fromXml() [1/2]

JobEventList fromXml ( const QString & xml)
static

Converts JobEventList XML document into object model.

Returns
The object model.
Parameters
xmlThe XML document to parse.

◆ fromXml() [2/2]

JobEventList fromXml ( const QString & xml,
const QString & userName,
QList< qint64 > jobIds )
static

Converts JobEventList XML document into object model.

Returns
The object model.
Parameters
xmlThe XML document to parse.
userNameThe username to filter JobEvents on.
jobIdsThe job ids to filer JobEvents on.

The documentation for this class was generated from the following file: