public class JobV3<J extends Job,S extends JobV3<J,S>> extends Schema<J,S>
Schema.Meta
Modifier and Type | Field and Description |
---|---|
java.lang.String |
description |
KeyV3 |
dest |
int |
error_count |
java.lang.String |
exception |
KeyV3.JobKeyV3 |
key |
ValidationMessageBase[] |
messages |
long |
msec |
float |
progress |
java.lang.String |
progress_msg |
long |
start_time |
java.lang.String |
status |
Constructor and Description |
---|
JobV3() |
Modifier and Type | Method and Description |
---|---|
J |
createImpl()
Create an appropriate implementation object and any child objects but does not fill them.
|
S |
fillFromImpl(Job job)
Fill this Schema from the given implementation object.
|
static java.lang.String |
link(Key key) |
createAndFillImpl, fillFromParms, fillFromParms, fillImpl, get__meta, getExperimentalVersion, getHighestSupportedVersion, getImplClass, getImplClass, getLatestVersion, getSchemaVersion, markdown, markdown, markdown, newInstance, newInstance, registerAllSchemasIfNecessary, schema, schema, schemaClass, schemas, setField
clone, frozenType, read_impl, read, readExternal, readJSON_impl, readJSON, toJsonString, write_impl, write, writeExternal, writeJSON_impl, writeJSON
@API(help="Job Key") public KeyV3.JobKeyV3 key
@API(help="current progress status description", direction=OUTPUT) public java.lang.String progress_msg
@API(help="Info, warning and error messages; NOTE: can be appended to while the Job is running", direction=OUTPUT) public ValidationMessageBase[] messages
public J 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.
public S fillFromImpl(Job job)
Schema
public static java.lang.String link(Key key)