Package co.mastermindcms.modules.beans
Class Job
- java.lang.Object
-
- co.mastermindcms.common.entities.Auditable<java.lang.String>
-
- co.mastermindcms.modules.beans.Job
-
- All Implemented Interfaces:
java.io.Serializable
@TypeAlias("Job") public class Job extends Auditable<java.lang.String>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private double
current
private java.lang.String
description
private java.lang.String
id
private int
progress
static java.lang.String
SEQUENCE_NAME
private JobStatus
status
private double
total
private java.lang.String
type
-
Fields inherited from class co.mastermindcms.common.entities.Auditable
createdBy, createdDate, lastModifiedBy, lastModifiedDate, metaInfo
-
-
Constructor Summary
Constructors Constructor Description Job()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
calculatePercentage()
void
decrement(double value)
void
increment(double value)
-
Methods inherited from class co.mastermindcms.common.entities.Auditable
getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, getMetaInfo, putMetaInfo, removeMetaInfo, setCreatedBy, setCreatedDate, setLastModifiedBy, setLastModifiedDate, setMetaInfo
-
-
-
-
Field Detail
-
id
private java.lang.String id
-
status
private JobStatus status
-
type
private java.lang.String type
-
description
private java.lang.String description
-
current
private double current
-
total
private double total
-
progress
private int progress
-
SEQUENCE_NAME
public static final java.lang.String SEQUENCE_NAME
- See Also:
- Constant Field Values
-
-