Workspace 6.21.5
Public Types | Public Member Functions | Static Public Attributes | List of all members
RetryRule Class Reference

#include <SSH/SSHPlugin/Schedulers/retryrule.h>

Public Types

enum  Type { Retry , RetryWithMoreWallTime , RetryWithMoreMemory , TypeCount }
 

Public Member Functions

 RetryRule ()
 
 RetryRule (const RetryRule &)
 
virtual ~RetryRule ()
 
const QString & getExpression () const
 
Type getType () const
 
bool load (const QJsonObject &)
 
bool load (QDataStream &)
 
RetryRuleoperator= (const RetryRule &)
 
void save (QDataStream &) const
 
void save (QJsonObject &) const
 
void setExpression (const QString &expression)
 
void setType (Type type)
 

Static Public Attributes

static QString TypeNames [] = {"Retry", "Retry with more walltime", "Retry with more memory"}
 

Member Enumeration Documentation

◆ Type

enum Type
Enumerator
Retry 
RetryWithMoreWallTime 
RetryWithMoreMemory 
TypeCount 

Constructor & Destructor Documentation

◆ RetryRule() [1/2]

RetryRule ( )

◆ ~RetryRule()

~RetryRule ( )
virtualdefault

◆ RetryRule() [2/2]

RetryRule ( const RetryRule rhs)

Member Function Documentation

◆ getExpression()

const QString & getExpression ( ) const
inline

◆ getType()

Type getType ( ) const
inline

◆ load() [1/2]

bool load ( const QJsonObject &  obj)

◆ load() [2/2]

bool load ( QDataStream &  stream)

◆ operator=()

RetryRule & operator= ( const RetryRule rhs)

◆ save() [1/2]

void save ( QDataStream &  stream) const

◆ save() [2/2]

void save ( QJsonObject &  obj) const

◆ setExpression()

void setExpression ( const QString &  expression)
inline

◆ setType()

void setType ( Type  type)
inline

Member Data Documentation

◆ TypeNames

QString TypeNames = {"Retry", "Retry with more walltime", "Retry with more memory"}
static