com.ibm.websphere.product
Class WASProductInfo
- java.lang.Object
-
- com.ibm.websphere.product.WASProductInfo
-
public class WASProductInfo extends java.lang.Object
This is a wrapper class containing information for the product information of a WAS install location.- Version:
- 6.0
-
-
Constructor Summary
Constructors Constructor and Description WASProductInfo(java.lang.String name, java.lang.String id, java.lang.String version, java.lang.String buildDate, java.lang.String buildLevel)
Constructor for WASProductInfo
-
Method Summary
Methods Modifier and Type Method and Description java.lang.String
getBuildDate()
Get the build date of the WAS product.java.lang.String
getBuildLevel()
Get the build level of the WAS product.java.lang.String
getId()
Get the id of the WAS product.java.lang.String
getName()
Get the name of the WAS product.java.lang.String
getVersion()
Get the version of the WAS product.void
print()
Prints the product information to standard out.void
setBuildDate(java.lang.String buildDate)
IBM WEBSPHERE INTERNAL USE ONLY.void
setBuildLevel(java.lang.String buildLevel)
IBM WEBSPHERE INTERNAL USE ONLY.void
setId(java.lang.String id)
IBM WEBSPHERE INTERNAL USE ONLY.void
setName(java.lang.String name)
IBM WEBSPHERE INTERNAL USE ONLY.void
setVersion(java.lang.String version)
IBM WEBSPHERE INTERNAL USE ONLY.
-
-
-
Constructor Detail
-
WASProductInfo
public WASProductInfo(java.lang.String name, java.lang.String id, java.lang.String version, java.lang.String buildDate, java.lang.String buildLevel)
Constructor for WASProductInfo- Parameters:
name
- the name of the WAS product.id
- The id of the WAS product.version
- the version of the WAS product.buildDate
- the build date of the WAS product.buildLevel
- the build level of the WAS product.
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
IBM WEBSPHERE INTERNAL USE ONLY. Set the name of the WAS product.- Parameters:
name
- the name of the WAS product.
-
getName
public java.lang.String getName()
Get the name of the WAS product.- Returns:
- The name of the WAS product.
-
setId
public void setId(java.lang.String id)
IBM WEBSPHERE INTERNAL USE ONLY. Set the id of the WAS product.- Parameters:
id
- the id of the WAS product.
-
getId
public java.lang.String getId()
Get the id of the WAS product.- Returns:
- The id of the WAS product.
-
setVersion
public void setVersion(java.lang.String version)
IBM WEBSPHERE INTERNAL USE ONLY. Set the version of the WAS product.- Parameters:
version
- the version of the WAS product.
-
getVersion
public java.lang.String getVersion()
Get the version of the WAS product.- Returns:
- The version of the WAS product.
-
setBuildDate
public void setBuildDate(java.lang.String buildDate)
IBM WEBSPHERE INTERNAL USE ONLY. Set the build date of the WAS product.- Parameters:
buildDate
- the build date of the WAS product.
-
getBuildDate
public java.lang.String getBuildDate()
Get the build date of the WAS product.- Returns:
- The date of the WAS product.
-
setBuildLevel
public void setBuildLevel(java.lang.String buildLevel)
IBM WEBSPHERE INTERNAL USE ONLY. Set the build level of the WAS product.- Parameters:
buildLevel
- the build level of the WAS product.
-
getBuildLevel
public java.lang.String getBuildLevel()
Get the build level of the WAS product.- Returns:
- The build level of the WAS product.
-
print
public void print()
Prints the product information to standard out.
-
-