public class ISVPackage
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LOGFOLDER |
Constructor and Description |
---|
ISVPackage(java.io.File zipFile,
int xml,
java.lang.String dn)
Creates new ISVPackage object which contains the meta information of the
ISV Package
|
Modifier and Type | Method and Description |
---|---|
static void |
cleanUp()
This method calls the clean up of ISVPLOG4jConfigurator to clean up all the file handles used for logs.
|
java.lang.String |
getBuild()
Gets the build number of the isv package
|
java.lang.String |
getIsvpCN()
Gets the CN of the ISV package
|
java.lang.String |
getisvpDN()
Returns the distinguished name for ISV Package
|
int |
getisvpXML()
Returns the isvp xml
|
java.io.File |
getisvpZipFile()
Returns the .isvp File
|
java.lang.String |
getLogFilePath() |
CordysLogger |
getLogger(java.lang.Class clazz)
Returns the
CordysLogger which logs
to file with name same as the ISV cn. |
java.lang.String |
getVersion()
Gets the version of the ISV package
|
java.lang.String |
getWcpVersion()
Gets the version of the ISV package
|
boolean |
isFirstMemberToUpgrade() |
boolean |
isLastMember() |
boolean |
isReUsePromptSet()
This method returns whether the user opted for reuse of promptsets while installation
|
void |
setisvpDN(java.lang.String dn)
Sets the distinguished name for ISV Package
|
void |
setisvpXML(int xml)
Sets the isvp xml
|
void |
setisvpZipFile(java.io.File zipFile)
Sets the .isvp file
|
void |
setReUsePromptSet(boolean isReUsePromptSet)
This method sets wether the user option of installation
set to false in advanced mode of installation
set true in normal mode of installation.
|
void |
setWcpVersion(java.lang.String wcpVersion)
Gets the version of the ISV package
|
public static final java.lang.String LOGFOLDER
public ISVPackage(java.io.File zipFile, int xml, java.lang.String dn)
public CordysLogger getLogger(java.lang.Class clazz)
CordysLogger
which logs
to file with name same as the ISV cn.clazz
- logger categorypublic void setisvpZipFile(java.io.File zipFile)
public java.io.File getisvpZipFile()
public void setisvpXML(int xml)
public int getisvpXML()
public void setisvpDN(java.lang.String dn)
public java.lang.String getisvpDN()
public boolean isReUsePromptSet()
public void setReUsePromptSet(boolean isReUsePromptSet)
isReUsePromptSet
- public java.lang.String getLogFilePath()
public java.lang.String getBuild()
public java.lang.String getIsvpCN()
public java.lang.String getVersion()
public java.lang.String getWcpVersion()
public void setWcpVersion(java.lang.String wcpVersion)
public static void cleanUp()
public boolean isFirstMemberToUpgrade()
public boolean isLastMember()