|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This class contains component information contained in snapshot.
| Method Summary | |
void |
compare(Snapshot srcSnap,
Snapshot tgtSnap,
java.lang.String diffFileName)
This method computes difference between (tgtSnap - thisSnap) for this component. |
void |
compare(Snapshot srcSnap,
Snapshot tgtSnap,
java.lang.String diffFileName,
int compareFilter,
int objTypeFilter)
This method computes difference between (tgtSnap - thisSnap) for this component. |
void |
compare(Snapshot srcSnap,
java.lang.String diffFileName)
This method computes difference between Current Component Definition and history point srcSnap. |
void |
compare(Snapshot srcSnap,
java.lang.String diffFileName,
int compareFilter,
int objTypeFilter)
This method computes difference between Current Component Definition and history point srcSnap. |
java.lang.String |
getBusinessName()
Gets business name of this component. |
ClassDefinition |
getClassDefinition()
Gets class definition of this component. |
java.lang.String |
getFullyQualifiedName()
Gets qualified name of this component. |
java.lang.String |
getName()
Gets name of this component image. |
java.lang.String |
getUOID()
Gets UOID of this component image. |
| Method Detail |
public java.lang.String getUOID()
public java.lang.String getName()
public java.lang.String getBusinessName()
public java.lang.String getFullyQualifiedName()
public ClassDefinition getClassDefinition()
public void compare(Snapshot srcSnap,
java.lang.String diffFileName)
throws CompareException,
MCMException
srcSnap - Source Snapshot with which this Component will be compareddiffFileName - File name where diff XML would be storedCompareException - When Comparison could not be completed.MCMException - Any other error causing this operation to fail.
public void compare(Snapshot srcSnap,
java.lang.String diffFileName,
int compareFilter,
int objTypeFilter)
throws CompareException,
MCMException
srcSnap - Source Snapshot with which this Component will be compareddiffFileName - File name where diff XML would be storedcompareFilter - Compare FilterobjTypeFilter - Object Type FilterCompareException - When Comparison could not be completed.MCMException - Any other error causing this operation to fail.
public void compare(Snapshot srcSnap,
Snapshot tgtSnap,
java.lang.String diffFileName,
int compareFilter,
int objTypeFilter)
throws CompareException,
MCMException
Snapshotable and Snapshot
is , this method compares two version of a component and in Snapshot is like
comparing two labels in conventional versioing systems.srcSnap - Source SnapshottgtSnap - Target SnapshotdiffFileName - File name where diff XML would be storedcompareFilter - Valid filter values are defined in MCMServiceHandler
for example MCMServiceHandler.COMPARE_FILTER_FOUND_OBJECTS_IN_TARGET_ONLY ,
MCMServiceHandler.COMPARE_FILTER_FOUND_OBJECTS_IN_SOURCE_ONLY ...
All compare filters are prefixed with COMPARE_FILTERobjTypeFilter - - This filters is on object types in diff, Using this filter
only Logical or Physical objects can be put in generated diff file.
for e.g. MCMServiceHandler.OBJECT_TYPE_FILTER_LOGICAL_OBJECT_ONLY
All object type filters are prefixed with OBJECT_TYPE_FILTERCompareException - When snapshots could not be compared.MCMException - Any other error causing this operation to fail.
public void compare(Snapshot srcSnap,
Snapshot tgtSnap,
java.lang.String diffFileName)
throws CompareException,
MCMException
Snapshotable and Snapshot
is , this method compares two version of a component and in Snapshot is like
comparing two labels in conventional versioing systems.
This method by default applies MCMServiceHandler.COMPARE_FILTER_CHANGED_OBJECTS_ONLY for compare filter
and MCMServiceHandler.OBJECTS_TYPE_FILTER_ANY_OBJECTS for object type filter.
Applying these default filters would imply, diff report will contain all changed objects
and will include all logical and physical objects.srcSnap - Source SnapshottgtSnap - Target SnapshotdiffFileName - File name where diff XML would be storedCompareException - When snapshots could not be compared.MCMException - Any other error causing this operation to fail.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||