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 |
java.lang.String |
exception |
KeyV3.JobKeyV3 |
key |
long |
msec |
float |
progress |
java.lang.String |
progress_msg |
long |
start_time |
java.lang.String |
status |
__meta, _impl_class, _version_pattern, EXCLUDE_FIELDS, INCLUDE_FIELDS
Constructor and Description |
---|
JobV3() |
Modifier and Type | Method and Description |
---|---|
J |
createImpl()
Create an implementation object and any child objects but DO NOT fill them.
|
S |
fillFromImpl(Job job)
Version and Schema-specific filling from the implementation object.
|
static java.lang.String |
link(Key key) |
DocGen.HTML |
writeHTML_impl(DocGen.HTML ab)
Implementation of the
Iced serialization protocol, only called by
auto-genned code. |
acceptsFrame, createAndFillImpl, extractVersion, fillFromParms, fillImpl, getExperimentalVersion, getHighestSupportedVersion, getImplClass, getImplClass, getLatestVersion, getSchemaVersion, markdown, markdown, markdown, markdown, newInstance, register, registerAllSchemasIfNecessary, schema, schema, schema, schema, schema, schemaClass, schemaClass, schemaClass, schemaClass, schemas
clone, frozenType, read_impl, read, readExternal, readJSON_impl, readJSON, toJsonString, write_impl, write, writeExternal, writeHTML, 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
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)
public DocGen.HTML writeHTML_impl(DocGen.HTML ab)
Iced
Iced
serialization protocol, only called by
auto-genned code. Not intended to be called by user code. Override only
for custom Iced serializers.writeHTML_impl
in interface Freezable
writeHTML_impl
in class Iced
ab
- html to write object to.