public class ProfileVersionIndicator extends Object
Constructor and Description |
---|
ProfileVersionIndicator()
Creates a version indicator with maximum version range, i.e. a range with
begin = 0 and end = Integer.MAX_VALUE.
|
ProfileVersionIndicator(List<VersionRange> versionInfos) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(ProfileVersionIndicator other,
StringBuffer sb) |
ProfileVersionIndicator |
createCopy() |
List<VersionRange> |
getVersionInfos() |
static ProfileVersionIndicator |
parse(String versionInformation,
String identifierName) |
String |
toString() |
public ProfileVersionIndicator()
public ProfileVersionIndicator(List<VersionRange> versionInfos)
public static ProfileVersionIndicator parse(String versionInformation, String identifierName) throws MalformedProfileIdentifierException
versionInformation
- identifierName
- name of the profile identifier this version indicator belongs
toMalformedProfileIdentifierException
public List<VersionRange> getVersionInfos()
public boolean contains(ProfileVersionIndicator other, StringBuffer sb)
other
- sb
- the comma separated list of version ranges from the other
indicator that are not contained in this indicator will be
added to this buffer (unless the buffer is null)public ProfileVersionIndicator createCopy()
Copyright © 2017. All rights reserved.