public class SequenceMetadata extends Object
Constructor and Description |
---|
SequenceMetadata(String componentName,
com.puresoltechnologies.versioning.Version startVersion,
ProvidedVersionRange providedVersionRange) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getComponentName()
This method returns the name of the component which is transformed with
the sequence.
|
ProvidedVersionRange |
getProvidedVersionRange()
This method returns a
ProvidedVersionRange which is the range of
versions this sequence is responsible of. |
com.puresoltechnologies.versioning.Version |
getStartVersion()
This method returns the version from which the migration can be taken up.
|
int |
hashCode() |
String |
toString() |
public SequenceMetadata(String componentName, com.puresoltechnologies.versioning.Version startVersion, ProvidedVersionRange providedVersionRange)
public String getComponentName()
String
is returned containing the component name.public com.puresoltechnologies.versioning.Version getStartVersion()
Version
object is returned containing the start version
which should be present for the sequence to be able to start.public ProvidedVersionRange getProvidedVersionRange()
ProvidedVersionRange
which is the range of
versions this sequence is responsible of. The minimum version does not
need to be the start version provided by getStartVersion()
. It
is possible, that a sequence of a later version was consolidated and the
start version for instance is 0.0.0, but the first version transformed to
is version 1.0.0 skipping all development versions before.ProvidedVersionRange
is returned providing the range of
versions this sequence can handle.Copyright © 2014-2015 PureSol Technologies. All Rights Reserved.