public class JobLogEntry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
COLOR_BAD |
static int |
COLOR_NORMAL |
static int |
COLOR_OK |
static int |
CONTACT |
static int |
DONE
Finished processing a batch run
|
static int |
INFO |
protected static int |
JLELAST
For subclasses to continue counting
|
static int |
MD5SUM |
static int |
MLBFIXER |
static int |
MOSAIC |
static int |
MOSAICV |
static int |
OTHER
Unknown job log
|
static int |
PICSIZE |
protected int |
type |
Constructor and Description |
---|
JobLogEntry() |
Modifier and Type | Method and Description |
---|---|
int |
getColor() |
java.lang.String |
getDurationAsString() |
java.util.Date |
getEndTime() |
java.lang.String |
getEndTimeAsString() |
java.lang.String |
getName() |
java.lang.String |
getNote()
Get any note the job might have about it's status.
|
int |
getSerial()
Get the Serial number for this JobLogEntry
|
java.util.Date |
getStartTime() |
java.lang.String |
getStartTimeAsString() |
int |
getType() |
java.lang.String |
getTypeAsString() |
boolean |
isError() |
void |
setColor(int color) |
void |
setEndTime()
Set the end time of this JobLogEntry to now.
|
void |
setEndTime(java.util.Date endTime) |
void |
setError() |
void |
setName(java.lang.String name) |
void |
setNote(java.lang.String note) |
void |
setStartTime(java.util.Date startTime) |
void |
setType(int type) |
public static final int CONTACT
public static final int PICSIZE
public static final int MLBFIXER
public static final int MD5SUM
public static final int MOSAIC
public static final int MOSAICV
public static final int INFO
public static final int DONE
public static final int OTHER
protected static final int JLELAST
public static final int COLOR_NORMAL
public static final int COLOR_OK
public static final int COLOR_BAD
protected int type
public void setType(int type)
type
- the type to setpublic int getType()
public int getSerial()
public java.lang.String getTypeAsString()
public java.util.Date getEndTime()
public void setEndTime(java.util.Date endTime)
endTime
- the endTime to setpublic void setEndTime()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic java.lang.String getNote()
public void setNote(java.lang.String note)
note
- the note to setpublic int getColor()
public void setColor(int color)
color
- the color to setpublic java.util.Date getStartTime()
public void setError()
public boolean isError()
public void setStartTime(java.util.Date startTime)
startTime
- the startTime to setpublic java.lang.String getStartTimeAsString()
public java.lang.String getEndTimeAsString()
public java.lang.String getDurationAsString()