public class JobV3 extends SchemaV3<Job,JobV3>
SchemaV3.Meta
Modifier and Type | Field and Description |
---|---|
java.lang.String |
description |
KeyV3 |
dest |
java.lang.String |
exception |
KeyV3.JobKeyV3 |
key |
long |
msec |
float |
progress |
java.lang.String |
progress_msg |
boolean |
ready_for_view |
java.lang.String |
stacktrace |
long |
start_time |
java.lang.String |
status |
java.lang.String[] |
warnings |
Modifier and Type | Method and Description |
---|---|
Job |
createImpl()
Create an appropriate implementation object and any child objects but does not fill them.
|
JobV3 |
fillFromImpl(Job job)
Fill this Schema from the given implementation object.
|
static java.lang.String |
link(Key key) |
createAndFillImpl, extractVersionFromSchemaName, fillFromImpl, fillFromImpl, fillFromParms, fillFromParms, fillImpl, fillImpl, getImplClass, getImplClass, getSchemaName, getSchemaType, getSchemaVersion, init_meta, markdown, markdown, newInstance, newInstance, setField, setSchemaType_doNotCall
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal
@API(help="Job Key") public KeyV3.JobKeyV3 key
@API(help="current progress status description", direction=OUTPUT) public java.lang.String progress_msg
public JobV3()
public JobV3(Job impl)
public Job createImpl()
Schema
For objects without children this method does all the required work. For objects with children the subclass will need to override, e.g. by calling super.createImpl() and then calling createImpl() on its children.
Note that impl objects for schemas which override this method don't need to have a default constructor (e.g., a Keyed object constructor can still create and set the Key), but they must not fill any fields which can be filled later from the schema.
TODO: We could handle the common case of children with the same field names here by finding all of our fields that are themselves Schemas.
createImpl
in class Schema<Job,JobV3>
public JobV3 fillFromImpl(Job job)
Schema
fillFromImpl
in class Schema<Job,JobV3>
public static java.lang.String link(Key key)