com.liferay.faces.util.product.internal
Class ProductBaseImpl
java.lang.Object
com.liferay.faces.util.product.internal.ProductBaseImpl
- All Implemented Interfaces:
- Product
- Direct Known Subclasses:
- ProductCDIImpl, ProductICEfacesImpl, ProductJSFImpl, ProductLiferayFacesAlloyImpl, ProductLiferayFacesBridgeImpl, ProductLiferayFacesPortalImpl, ProductLiferayFacesUtilImpl, ProductLiferayPortalImpl, ProductPrimeFacesImpl, ProductResinImpl, ProductRichFacesImpl, ProductSpringFrameworkImpl, ProductWildFlyImpl
public class ProductBaseImpl
- extends Object
- implements Product
- Author:
- Neil Griffin
buildId
protected int buildId
detected
protected boolean detected
majorVersion
protected int majorVersion
minorVersion
protected int minorVersion
revisionVersion
protected int revisionVersion
stringValue
protected String stringValue
title
protected String title
version
protected String version
ProductBaseImpl
public ProductBaseImpl()
toString
public String toString()
- Specified by:
toString in interface Product- Overrides:
toString in class Object
init
protected void init(Class<?> clazz,
String expectedTitle)
initVersionInfo
protected void initVersionInfo(String version)
parseInt
protected int parseInt(String value)
getBuildId
public int getBuildId()
- Specified by:
getBuildId in interface Product
isDetected
public boolean isDetected()
- Specified by:
isDetected in interface Product
getMajorVersion
public int getMajorVersion()
- Specified by:
getMajorVersion in interface Product
getMinorVersion
public int getMinorVersion()
- Specified by:
getMinorVersion in interface Product
getPackage
protected Package getPackage()
getRevisionVersion
public int getRevisionVersion()
- Specified by:
getRevisionVersion in interface Product
getTitle
public String getTitle()
- Specified by:
getTitle in interface Product
getVersion
public String getVersion()
- Specified by:
getVersion in interface Product
Copyright © 2015 Liferay, Inc.. All rights reserved.