|
TPTP 4.4.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.loaders.hierarchy.IgnoredXMLFragmentLoader
org.eclipse.hyades.loaders.common.XMLexecutionEventLoader
This is the base class for the execution event loaders and handles attributes of the base event.
| Field Summary | |
|---|---|
protected CMNAnnotation |
annotation
|
protected char[] |
annotationCDATA
|
protected java.lang.String |
annotationFilename
|
protected java.util.ArrayList |
annotations
|
protected int |
conflict
|
static boolean |
DEBUG
|
protected TPFExecutionEvent |
event
|
protected static java.lang.String |
EVENT_ANNOTATION
|
protected static java.lang.String |
EVENT_ANNOTATION_FILENAME
|
protected static java.lang.String |
EVENT_ANNOTATION_TYPE
|
protected static java.lang.String |
EVENT_CONFLICT
|
protected static java.lang.String |
EVENT_EVENT_TYPE
|
protected static java.lang.String |
EVENT_ID
|
protected static java.lang.String |
EVENT_NAME
|
protected static java.lang.String |
EVENT_OWNERID
|
protected static java.lang.String |
EVENT_PARENTID
|
protected static java.lang.String |
EVENT_PROPERTY
|
protected static java.lang.String |
EVENT_PROPERTY_NAME
|
protected static java.lang.String |
EVENT_PROPERTY_TYPE
|
protected static java.lang.String |
EVENT_PROPERTY_VALUE
|
protected static java.lang.String |
EVENT_REPOSITORY_RECORD
|
protected static java.lang.String |
EVENT_REPOSITORY_RECORD_ID
|
protected static java.lang.String |
EVENT_REPOSITORY_RECORD_LABEL
|
protected static java.lang.String |
EVENT_REPOSITORY_RECORD_TYPE
|
protected static java.lang.String |
EVENT_REPOSITORY_RECORD_URI
|
protected static java.lang.String |
EVENT_SORT_BY
|
protected static java.lang.String |
EVENT_TEXT
|
protected static java.lang.String |
EVENT_TIMESTAMP
|
protected java.lang.String |
eventType
|
protected java.lang.String |
id
|
protected static java.lang.Object |
ModelTraversalLock
|
protected java.lang.String |
name
|
protected java.lang.String |
ownerId
|
protected java.lang.String |
parentId
|
protected java.util.ArrayList |
properties
|
protected CMNExtendedProperty |
property
|
protected TPFRepositoryRecord |
repositoryRecord
|
protected java.util.ArrayList |
repositoryRecords
|
static java.lang.String |
ROOT_PARENT
|
protected java.lang.String |
sortBy
|
protected java.lang.String |
text
|
protected long |
timestamp
|
| Fields inherited from class org.eclipse.hyades.loaders.hierarchy.IgnoredXMLFragmentLoader |
|---|
context |
| Fields inherited from interface org.eclipse.hyades.loaders.common.IXMLEventConstants |
|---|
CONFLICT_IGNORE, CONFLICT_NONE, CONFLICT_OVERWRITE, CONFLICT_OVERWRITE_IF_EARLIEST, CONFLICT_OVERWRITE_IF_LATEST |
| Constructor Summary | |
|---|---|
XMLexecutionEventLoader()
|
|
| Method Summary | |
|---|---|
void |
addAttribute(java.lang.String name,
java.lang.String value)
|
void |
addCharacters(char[] data,
int offset,
int length)
|
void |
addYourselfInContext()
This is called on end of root element of each fragment |
void |
addYourselfToContainer()
This method adds the event to the correct container within the execution result. |
void |
endChild(java.lang.String name)
|
protected TPFTest |
getReferencedTest()
|
void |
initialize(HierarchyContext context,
java.lang.String name)
This is called on start of root element of each fragment |
protected boolean |
isIdentical(TPFExecutionEvent match)
Check to see if there exists an event in the excution history that's identical to the current event being logged |
protected boolean |
needOverwrite(TPFExecutionEvent match)
Based on the value of the 'conflict' attribute, figures out if an overwrite is required. |
protected void |
overwrite(TPFExecutionEvent match)
Overwrite the properties of the basic TPFExecutionEvent |
protected void |
printAttribute(java.lang.String name,
java.lang.String value)
|
protected void |
printEndTag()
|
protected void |
printTag(java.lang.String str)
|
protected boolean |
resolveConflict(org.eclipse.emf.common.util.EList events)
This method figures out if there is a conflict to resolve. |
void |
startChild(java.lang.String name)
|
| Methods inherited from class org.eclipse.hyades.loaders.hierarchy.IgnoredXMLFragmentLoader |
|---|
cleanUp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final boolean DEBUG
public static final java.lang.String ROOT_PARENT
protected static final java.lang.String EVENT_ID
protected static final java.lang.String EVENT_OWNERID
protected static final java.lang.String EVENT_TIMESTAMP
protected static final java.lang.String EVENT_TEXT
protected static final java.lang.String EVENT_PARENTID
protected static final java.lang.String EVENT_NAME
protected static final java.lang.String EVENT_EVENT_TYPE
protected static final java.lang.String EVENT_SORT_BY
protected static final java.lang.String EVENT_CONFLICT
protected static final java.lang.String EVENT_PROPERTY
protected static final java.lang.String EVENT_PROPERTY_NAME
protected static final java.lang.String EVENT_PROPERTY_TYPE
protected static final java.lang.String EVENT_PROPERTY_VALUE
protected static final java.lang.String EVENT_ANNOTATION
protected static final java.lang.String EVENT_ANNOTATION_FILENAME
protected static final java.lang.String EVENT_ANNOTATION_TYPE
protected static final java.lang.String EVENT_REPOSITORY_RECORD
protected static final java.lang.String EVENT_REPOSITORY_RECORD_ID
protected static final java.lang.String EVENT_REPOSITORY_RECORD_URI
protected static final java.lang.String EVENT_REPOSITORY_RECORD_TYPE
protected static final java.lang.String EVENT_REPOSITORY_RECORD_LABEL
protected java.lang.String id
protected java.lang.String ownerId
protected long timestamp
protected java.lang.String text
protected TPFExecutionEvent event
protected java.lang.String parentId
protected java.lang.String name
protected java.lang.String eventType
protected java.lang.String sortBy
protected int conflict
protected CMNExtendedProperty property
protected java.util.ArrayList properties
protected CMNAnnotation annotation
protected java.lang.String annotationFilename
protected char[] annotationCDATA
protected java.util.ArrayList annotations
protected java.util.ArrayList repositoryRecords
protected TPFRepositoryRecord repositoryRecord
protected static final java.lang.Object ModelTraversalLock
| Constructor Detail |
public XMLexecutionEventLoader()
| Method Detail |
public void initialize(HierarchyContext context,
java.lang.String name)
XMLFragmentLoader
initialize in interface XMLFragmentLoaderinitialize in class IgnoredXMLFragmentLoader
public void addAttribute(java.lang.String name,
java.lang.String value)
addAttribute in interface XMLFragmentLoaderaddAttribute in class IgnoredXMLFragmentLoader
public void addCharacters(char[] data,
int offset,
int length)
addCharacters in interface XMLFragmentLoaderaddCharacters in class IgnoredXMLFragmentLoaderpublic void startChild(java.lang.String name)
startChild in interface XMLFragmentLoaderstartChild in class IgnoredXMLFragmentLoaderpublic void endChild(java.lang.String name)
endChild in interface XMLFragmentLoaderendChild in class IgnoredXMLFragmentLoaderpublic void addYourselfInContext()
XMLFragmentLoader
addYourselfInContext in interface XMLFragmentLoaderaddYourselfInContext in class IgnoredXMLFragmentLoaderpublic void addYourselfToContainer()
protected TPFTest getReferencedTest()
protected boolean resolveConflict(org.eclipse.emf.common.util.EList events)
events -
protected boolean isIdentical(TPFExecutionEvent match)
match -
protected boolean needOverwrite(TPFExecutionEvent match)
match -
protected void overwrite(TPFExecutionEvent match)
match - - an existing identical eventprotected void printTag(java.lang.String str)
protected void printAttribute(java.lang.String name,
java.lang.String value)
protected void printEndTag()
|
TPTP 4.4.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||