@FacetConstraint(value=MetadataFacet.class) public class ForgeVersionFacet extends AbstractFacet<Project> implements ProjectFacet
| Modifier and Type | Field and Description |
|---|---|
static String |
VERSION_PROPERTY |
origin| Constructor and Description |
|---|
ForgeVersionFacet() |
| Modifier and Type | Method and Description |
|---|---|
String |
getVersion() |
boolean |
install()
|
boolean |
isInstalled()
|
void |
setVersion(String version) |
equals, getFaceted, hashCode, setFaceted, uninstallclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetFaceted, uninstallpublic static final String VERSION_PROPERTY
public boolean install()
Facetpublic boolean isInstalled()
FacetisInstalled in interface Facet<Project>public String getVersion()
public void setVersion(String version)
Copyright © 2016 JBoss by Red Hat. All rights reserved.