Project: stp

javax.wvcm
Class Baseline.CompareFlag

Object
  extended by javax.wvcm.Baseline.CompareFlag
Enclosing interface:
Baseline

public static class Baseline.CompareFlag
extends Object

Boolean flags for the doCompareReport method


Field Summary
static Baseline.CompareFlag ACTIVITIES
          Indicates that the comparison should include information about activities whose Activity.ACTIVITY_VERSION_LIST contain versions that are an ancestor of an old version or an ancestor of a new version, but not both.
static Baseline.CompareFlag NEW_ONLY
          Report only on versions in the new set of versions.
 
Method Summary
 String toString()
          Returns a string representation of this flag suitable for diagnostics.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ACTIVITIES

public static final Baseline.CompareFlag ACTIVITIES
Indicates that the comparison should include information about activities whose Activity.ACTIVITY_VERSION_LIST contain versions that are an ancestor of an old version or an ancestor of a new version, but not both.

In particular, let NewVersions be the set of versions that are a new version or an ancestor of a new version, but not an old version or an ancestor of an old version; and let OldVersions be the set of versions that are an old version or an ancestor of an old version, but not a new version or an ancestor of a new version. Then an activity is considered:

  • "added" if every version in its Activity.ACTIVITY_VERSION_LIST is in the NewVersions set.
  • "deleted" if every version in its Activity.ACTIVITY_VERSION_LIST is in the OldVersions set.
  • "partially added" if some versions in its Activity.ACTIVITY_VERSION_LIST are in the NewVersions set and the rest are in neither set.
  • "partially deleted" if some versions in its Activity.ACTIVITY_VERSION_LIST are in the OldVersions set and the rest are in neither set.
  • "changed" if some versions in its Activity.ACTIVITY_VERSION_LIST are in the NewVersions set and some are in the OldVersions set.


  • NEW_ONLY

    public static final Baseline.CompareFlag NEW_ONLY
    Report only on versions in the new set of versions. Changed versions are reported as added versions, and deleted versions are not reported at all.

    Method Detail

    toString

    public String toString()
    Returns a string representation of this flag suitable for diagnostics.

    Overrides:
    toString in class Object

    Generated Tue 26-Jul-2016 10:54 PM

    Copyright © IBM 2016. All rights reserved.