Package wt.vc
Class VersionControlServiceEvent
java.lang.Object
wt.events.KeyedEvent
wt.vc.VersionControlServiceEvent
- All Implemented Interfaces:
Serializable,wt.events.summary.SummarizedEvent
Provides a service specific event extended from KeyedEvent used in conjunction
with the standard implementation of the server-side functionality as
defined by the VersionControlService interface. This event could also
be used by a custom implementation of the VersionControlService.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringA constant that defines an event marking the occurrance of the creation of an iteration, not version.static final StringA constant that defines an event marking the occurrance of the creation of a version, that is the very first iteration created in its iteration line (i.e., branch).static final StringA constant that defines an event marking the occurrance of a merge of one version into another.static final StringA constant that defines an event marking the occurrance of the rollback (unsuperseding) of an iteration with another one.static final StringA constant that defines an event marking the occurrance of the rollup of an iteration(s) with another one.static final StringA constant that defines an event marking the occurrance of the superseding of the "latest" iteration with another "latest" one.static final StringA constant that defines an event marking the occurrance of a merge of one version into another.static final StringA constant that defines an event marking the occurrance of the creation of a new version, that is the very first iteration created in its iteration line (i.e., branch).static final StringA constant that defines an event marking the occurrance of the rollback (unsuperseding) of an iteration that is about to commense.static final StringA constant that defines an event marking the occurrance of the rollup of an iteration(s) that is about to commense.static final StringA constant that defines an event marking the occurrance of the replacement of a new iteration that is about to commense. -
Method Summary
Modifier and TypeMethodDescriptionGets the iteration [target] of the event.For PRE_MERGE and POST_MERGE event types (only), this method returns a map from merge destination objects to newly created "merged" objects.Gets the iteration [target] of the event.For single-object PRE_MERGE and POST_MERGE events (only), this method returns the iteration which is the destination of the merge operation.For PRE_MERGE and POST_MERGE event types (only), this method returns a collection of all merge destination objects.For single-object PRE_MERGE and POST_MERGE events (only), this method returns the iteration which is the result of the merge operation.For PRE_MERGE and POST_MERGE event types (only), this method returns a set of all the newly created "merged" objects.For PRE_MERGE and POST_MERGE event types (only), this method returns a map from newly created "merged" objects to merge destination objects.For single-object PRE_MERGE and POST_MERGE events (only), this method returns the iteration which is the source of the merge operation.For PRE_MERGE and POST_MERGE event types (only), this method returns a set of all merge source objects.For PRE_MERGE and POST_MERGE event types (only), this method returns a map from merge source to merge destination objects.For PRE_MERGE and POST_MERGE event types (only), this method returns a map from merge source to newly created "merged" objects.Gets all of the iterations that have been rolled back to the one becoming the latest iteration.Gets all of the iterations that have been rolled up from the one becoming the very first iteration.Gets the old superseded iteration [target] of the event.Gets the new superseding iteration [target] of the event.Methods inherited from class wt.events.KeyedEvent
generateEventKey, getEventKey, getEventTarget, getEventType
-
Field Details
-
NEW_ITERATION
A constant that defines an event marking the occurrance of the creation of an iteration, not version. Listener's of this event can stipulate that preconditions have not been satisfied by means of throwing an exception which acts as a veto.
Supported API: true- See Also:
-
NEW_VERSION
A constant that defines an event marking the occurrance of the creation of a version, that is the very first iteration created in its iteration line (i.e., branch). Listener's of this event can stipulate that preconditions have not been satisfied by means of throwing an exception which acts as a veto.
Supported API: true- See Also:
-
PRE_SUPERSEDE
A constant that defines an event marking the occurrance of the replacement of a new iteration that is about to commense. Listener's of this event can stipulate that preconditions have not been satisfied by means of throwing an exception which acts as a veto.
Supported API: true- See Also:
-
POST_SUPERSEDE
A constant that defines an event marking the occurrance of the superseding of the "latest" iteration with another "latest" one. Listener's of this event can stipulate that preconditions have not been satisfied by means of throwing an exception which acts as a veto.
Supported API: true- See Also:
-
PRE_ROLLBACK
A constant that defines an event marking the occurrance of the rollback (unsuperseding) of an iteration that is about to commense. Listener's of this event can stipulate that preconditions have not been satisfied by means of throwing an exception which acts as a veto.
Supported API: true- See Also:
-
POST_ROLLBACK
A constant that defines an event marking the occurrance of the rollback (unsuperseding) of an iteration with another one. Listener's of this event can stipulate that preconditions have not been satisfied by means of throwing an exception which acts as a veto.
Supported API: true- See Also:
-
PRE_ROLLUP
A constant that defines an event marking the occurrance of the rollup of an iteration(s) that is about to commense. Listener's of this event can stipulate that preconditions have not been satisfied by means of throwing an exception which acts as a veto.
Supported API: true- See Also:
-
POST_ROLLUP
A constant that defines an event marking the occurrance of the rollup of an iteration(s) with another one. Listener's of this event can stipulate that preconditions have not been satisfied by means of throwing an exception which acts as a veto.
Supported API: true- See Also:
-
PRE_MERGE
A constant that defines an event marking the occurrance of a merge of one version into another. Listener's of this event can stipulate that preconditions have not been satisfied by means of throwing an exception which acts as a veto. They also have an opportunity to modify or amend the newly formed "merge" iterations prior to their initial persistence in the database.
Supported API: true- See Also:
-
POST_MERGE
A constant that defines an event marking the occurrance of a merge of one version into another. Listener's of this event can stipulate that post conditions have not been satisfied by means of throwing an exception which acts as a veto.
Supported API: true- See Also:
-
PRE_NEW_VERSION
A constant that defines an event marking the occurrance of the creation of a new version, that is the very first iteration created in its iteration line (i.e., branch). Listener's of this event can stipulate that preconditions have not been satisfied by means of throwing an exception which acts as a veto.
Supported API: true- See Also:
-
-
Method Details
-
getSupersededIteration
Gets the old superseded iteration [target] of the event. This is only applicable to when an iteration is about to be superseded.
Supported API: true- Returns:
- Iterated
- See Also:
-
getSupersedingIteration
Gets the new superseding iteration [target] of the event. This is only applicable to when an iteration is about to be superseded.
Supported API: true- Returns:
- Iterated
- See Also:
-
getRolledBackIterations
Gets all of the iterations that have been rolled back to the one becoming the latest iteration. This is only applicable to when an iteration is about to be rolled back. The order of iterations returned is from most recent to least.
Supported API: true- Returns:
- Vector
- See Also:
-
getRolledUpIterations
Gets all of the iterations that have been rolled up from the one becoming the very first iteration. This is only applicable to when an iteration is about to be rolled back. The order of iterations returned is from most recent to least.
Supported API: true- Returns:
- Vector
- See Also:
-
getIteration
Gets the iteration [target] of the event. This is only applicable to when a new "latest" iteration has been created, or when an iteration has become superseded, or when an iteration has become rolled back.
Supported API: true- Returns:
- Iterated
- See Also:
-
getAppendedIteration
Gets the iteration [target] of the event. This is only applicable to when a new "latest" iteration has been appended
Supported API: true- Returns:
- Iterated
- See Also:
-
getIteration()
-
getMergeSourceIteration
For single-object PRE_MERGE and POST_MERGE events (only), this method returns the iteration which is the source of the merge operation.
Supported API: true- Returns:
- Versioned
-
getMergeDestinationIteration
For single-object PRE_MERGE and POST_MERGE events (only), this method returns the iteration which is the destination of the merge operation.
Supported API: true- Returns:
- Versioned
-
getMergedIteration
For single-object PRE_MERGE and POST_MERGE events (only), this method returns the iteration which is the result of the merge operation.
Supported API: true- Returns:
- Versioned
-
getMergeSourceToDestinationsMap
For PRE_MERGE and POST_MERGE event types (only), this method returns a map from merge source to merge destination objects.
Supported API: true- Returns:
- WTValuedMap
-
getMergeSourceToMergedIterationsMap
For PRE_MERGE and POST_MERGE event types (only), this method returns a map from merge source to newly created "merged" objects.
Supported API: true- Returns:
- WTValuedMap
-
getMergedIterationToDestinationsMap
For PRE_MERGE and POST_MERGE event types (only), this method returns a map from newly created "merged" objects to merge destination objects.
Supported API: true- Returns:
- WTValuedMap
-
getDestinationsToMergedIterationMap
For PRE_MERGE and POST_MERGE event types (only), this method returns a map from merge destination objects to newly created "merged" objects.
Supported API: true- Returns:
- WTValuedMap
-
getMergeSourceIterations
For PRE_MERGE and POST_MERGE event types (only), this method returns a set of all merge source objects.
Supported API: true- Returns:
- WTSet
-
getMergeDestinationIterations
For PRE_MERGE and POST_MERGE event types (only), this method returns a collection of all merge destination objects.
Supported API: true- Returns:
- WTCollection
-
getMergedIterations
For PRE_MERGE and POST_MERGE event types (only), this method returns a set of all the newly created "merged" objects.
Supported API: true- Returns:
- WTSet
-