public abstract class AbstractKeyPairParser extends BatchParser implements uk.ac.ed.epcc.webapp.Contexed, PropertyContainerParser
AbstractPbsParser
ACCOUNT_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 |
|---|
AbstractKeyPairParser(uk.ac.ed.epcc.webapp.AppContext conn) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
endParse()
End a batch parse this de-allocates any temporary storage and
and perform any final operations.
|
uk.ac.ed.epcc.webapp.AppContext |
getContext() |
protected abstract ContainerEntryMaker |
getEntryMaker(java.lang.String attr)
get the
ContainerEntryMaker for the attribute name. |
boolean |
parse(PropertyMap map,
java.lang.String record)
Parse a String representation of the UsageRecord.
|
void |
startParse(PropertyContainer defaults)
Start a batch parse.
|
getDerivedPropertiesinitFinder, readDouble, readInteger, readLong, readTimegetDefaultUniqueProperties, modifyDefaultTableSpecification, splitRecords, uniqueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultUniqueProperties, splitRecordsgetDerivedProperties, initFinder, modifyDefaultTableSpecificationpublic AbstractKeyPairParser(uk.ac.ed.epcc.webapp.AppContext conn)
public void startParse(PropertyContainer defaults)
PropertyContainerUpdaterstartParse in interface PropertyContainerUpdaterstartParse in class AbstractPropertyContainerUpdaterdefaults - properties constant for this accounting run.public boolean parse(PropertyMap map, java.lang.String record) throws AccountingParseException
PropertyContainerParserparse in interface PropertyContainerParserAccountingParseExceptionmap - PropertyMap to add quantitiespublic java.lang.String endParse()
PropertyContainerUpdaterendParse in interface PropertyContainerUpdaterendParse in class AbstractPropertyContainerUpdaterpublic uk.ac.ed.epcc.webapp.AppContext getContext()
getContext in interface uk.ac.ed.epcc.webapp.Contexedprotected abstract ContainerEntryMaker getEntryMaker(java.lang.String attr)
ContainerEntryMaker for the attribute name.attr -