public class NGSXMLRecordParser extends OGFXMLRecordParser
| Modifier and Type | Field and Description |
|---|---|
static PropertyTag<java.util.Date> |
GLOBUS_EXECUTABLE_PROP |
static PropertyTag<java.util.Date> |
GLOBUS_FINISHED_PROP |
static PropertyTag<java.util.Date> |
GLOBUS_SUBMITTED_PROP |
static PropertyTag<java.lang.Integer> |
NGS_KB_USED_PROP |
static PropertyTag<java.lang.Number> |
NGS_MEMORY_USED_PROP |
static PropertyRegistry |
NGS_REGISTRY |
static PropertyTag<java.lang.Integer> |
NGS_VIRTUAL_KB_USED_PROP |
static PropertyTag<java.lang.Number> |
NGS_VIRTUAL_MEMORY_USED_PROP |
static PropertyTag<java.lang.String> |
VO_PROP |
DEFAULT_PROPERTY_REGISTRY_NAME, OGF_TEXT, OGFUR_CHARGE_PROP, OGFUR_CHARGE_UNIT_PROP, OGFUR_CPU_DURATION_PROP, OGFUR_CREATE_TIME_PROP, OGFUR_DEFAULT_REGISTRY, OGFUR_END_TIME_PROP, OGFUR_GLOBAL_JOB_ID_PROP, OGFUR_GLOBAL_USERNAME_PROP, OGFUR_HOST_PROP, OGFUR_JOB_NAME_PROP, OGFUR_LOCAL_JOB_ID_PROP, OGFUR_LOCAL_USER_ID_PROP, OGFUR_MACHINE_NAME_PROP, OGFUR_NODE_COUNT_PROP, OGFUR_PROCESS_ID_PROP, OGFUR_PROCESSORS_PROP, OGFUR_PROJECT_NAME_PROP, OGFUR_QUEUE_PROP, OGFUR_RECORD_ID_PROP, OGFUR_RECORD_IDENTITY_PROP, OGFUR_SERVICE_LEVEL_PROP, OGFUR_START_TIME_PROP, OGFUR_STATUS_PROP, OGFUR_SUBJECT_NAME_PROP, OGFUR_SUBMIT_HOST_PROP, OGFUR_WALL_DURATION_PROPACCOUNT_PROP, batch, BATCH_SCRIPT_PROP, CPU_WAIT_PROP, EXPECTED_FINISH, JOB_ID_PROP, JOB_NAME_PROP, NODE_COUNT_PROP, PARTITION_PROP, PROC_COUNT_PROP, QUEUE_PROP, REQUEST_ACCURACY_PROP, REQUESTED_CPUS_PROP, REQUESTED_WALLCLOCK_PROP, RESIDENCY_PROP, SERIAL_PROP, SLOWDOWN_PROP, SUBJOB_PROP, SUBMITTED_PROP, SUBMITTED_TIMESTAMP, SUCCESS_PROP, TIME_PROP, WAIT_PROP, WALLCLOCK_PROPDUPLICATE_KEY| Constructor and Description |
|---|
NGSXMLRecordParser(uk.ac.ed.epcc.webapp.AppContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
defaultSchemaName()
Default Schema to use when none set via properties
|
PropExpressionMap |
getDerivedProperties(PropExpressionMap previous)
return a set of derived property definitions.
|
protected PropertyFinder |
initFinder(uk.ac.ed.epcc.webapp.AppContext context,
PropertyFinder prev)
First stage of the initFinder process.
|
protected ParsernameSpaceContext |
makeNameSpaceContext()
This is used for namespace resolution
In particular for the Xpath expressions used by the parser.
|
ADD_DERIVATON, getTargets, modifyDefaultTableSpecificationendParse, getContext, getSplitter, initFinder, parse, postProcess, splitRecords, startParsereadDouble, readInteger, readLong, readTimegetDefaultUniqueProperties, uniqueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultUniquePropertiespublic static final PropertyRegistry NGS_REGISTRY
@Path(value="//ur:Memory[@ur:type=\"memoryUsed\"]") @ParseClass(parser=IntervallicVolumeParser.class) public static final PropertyTag<java.lang.Number> NGS_MEMORY_USED_PROP
public static final PropertyTag<java.lang.Integer> NGS_KB_USED_PROP
@Path(value="//ur:Memory[@ur:type=\"virtualMemoryUsed\"]") @ParseClass(parser=IntervallicVolumeParser.class) public static final PropertyTag<java.lang.Number> NGS_VIRTUAL_MEMORY_USED_PROP
public static final PropertyTag<java.lang.Integer> NGS_VIRTUAL_KB_USED_PROP
@Path(value="//ur:TimeInstant[@ur:type=\"timeGlobusSubmitted\"]") public static final PropertyTag<java.util.Date> GLOBUS_SUBMITTED_PROP
@Path(value="//ur:TimeInstant[@ur:type=\"timeGlobusExecutable\"]") public static final PropertyTag<java.util.Date> GLOBUS_EXECUTABLE_PROP
@Path(value="//ur:TimeInstant[@ur:type=\"timeGlobusFinished\"]") public static final PropertyTag<java.util.Date> GLOBUS_FINISHED_PROP
@Path(value="Resource[@ur:description=\"VOinfo\"]") public static final PropertyTag<java.lang.String> VO_PROP
public NGSXMLRecordParser(uk.ac.ed.epcc.webapp.AppContext context)
protected PropertyFinder initFinder(uk.ac.ed.epcc.webapp.AppContext context, PropertyFinder prev)
XMLRecordParserinitFinder in class OGFXMLRecordParserpublic PropExpressionMap getDerivedProperties(PropExpressionMap previous)
PropertyContainerUpdaterDefinitions are allowed for properties that are also generated directly in the parse phase. In this case the parse value should always be used by preference and the derived definition only provides a fall-back implementation if the parse value is unavailable. For example if not persisted in the database layer. This allows one parser/policy to specify a default implementation as a derived property definition which is then overridden by having the same property generated in a parse method of a different policy/parser
getDerivedProperties in interface PropertyContainerUpdatergetDerivedProperties in class OGFXMLRecordParserprevious - Previous definitionsprotected java.lang.String defaultSchemaName()
XMLRecordParserdefaultSchemaName in class OGFXMLRecordParserprotected ParsernameSpaceContext makeNameSpaceContext()
XMLRecordParsermakeNameSpaceContext in class OGFXMLRecordParser