public class RevisionSpec extends Object
Compiled from the information provided via configuration, which has already been validated before building this specification.
Constructor and Description |
---|
RevisionSpec(ConfigurationRevisionEventType.PropertyRevision propertyRevision,
EventType baseEventType,
EventType[] deltaTypes,
String[] deltaNames,
String[] keyPropertyNames,
String[] changesetPropertyNames,
String[] baseEventOnlyPropertyNames,
boolean deltaTypesAddProperties,
boolean[] changesetPropertyDeltaContributed)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getBaseEventOnlyPropertyNames()
Returns the properies only found on the base event.
|
EventType |
getBaseEventType()
Returns the base event type.
|
boolean[] |
getChangesetPropertyDeltaContributed()
Flag for each changeset property to indicate if only the delta contributes the property.
|
String[] |
getChangesetPropertyNames()
Returns property names of properties that change by deltas
|
String[] |
getDeltaNames()
Returns names for delta events.
|
EventType[] |
getDeltaTypes()
Returns the delta event types.
|
String[] |
getKeyPropertyNames()
Returns property names for key properties.
|
ConfigurationRevisionEventType.PropertyRevision |
getPropertyRevision()
Returns the stratgegy for revisioning.
|
boolean |
isDeltaTypesAddProperties()
Returns true if delta types add properties.
|
public RevisionSpec(ConfigurationRevisionEventType.PropertyRevision propertyRevision, EventType baseEventType, EventType[] deltaTypes, String[] deltaNames, String[] keyPropertyNames, String[] changesetPropertyNames, String[] baseEventOnlyPropertyNames, boolean deltaTypesAddProperties, boolean[] changesetPropertyDeltaContributed)
propertyRevision
- strategy to usebaseEventType
- base typedeltaTypes
- delta typesdeltaNames
- names of delta typeskeyPropertyNames
- names of key propertieschangesetPropertyNames
- names of properties that changebaseEventOnlyPropertyNames
- properties only available on the base eventdeltaTypesAddProperties
- boolean to indicate delta types add additional properties.changesetPropertyDeltaContributed
- flag for each property indicating whether its contributed only by a delta eventpublic boolean[] getChangesetPropertyDeltaContributed()
public ConfigurationRevisionEventType.PropertyRevision getPropertyRevision()
public EventType getBaseEventType()
public EventType[] getDeltaTypes()
public String[] getDeltaNames()
public String[] getKeyPropertyNames()
public String[] getChangesetPropertyNames()
public String[] getBaseEventOnlyPropertyNames()
public boolean isDeltaTypesAddProperties()