public final class VersionProperty extends Object implements Serializable, Comparable<VersionProperty>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(VersionProperty o) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isInternal()
Specify if the property is internally defined and can be tuned according to the
build system.
|
static VersionProperty |
of(String property)
Create an internal
VersionProperty. |
static VersionProperty |
of(String property,
boolean internal)
Create a
VersionProperty. |
String |
toCamelCaseFormat()
Return a camel cased representation of this instance.
|
String |
toStandardFormat() |
String |
toString() |
public static VersionProperty of(String property, boolean internal)
VersionProperty.property - the name of the propertyinternal - whether the property is internal and can be tuned according to the
build systempublic static VersionProperty of(String property)
VersionProperty.property - the name of the propertypublic boolean isInternal()
true if the property is defined within the scope of this projectpublic String toCamelCaseFormat()
public String toStandardFormat()
public int compareTo(VersionProperty o)
compareTo in interface Comparable<VersionProperty>Copyright © 2019 Pivotal Software, Inc.. All rights reserved.