|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.izforge.izpack.rules.Condition
com.izforge.izpack.rules.UserCondition
public class UserCondition
Checks to see whether the user who is running the installer is the same as the user who should be running the installer.
| Field Summary | |
|---|---|
private java.lang.String |
requiredUsername
|
private static long |
serialVersionUID
|
| Fields inherited from class com.izforge.izpack.rules.Condition |
|---|
id, installdata |
| Constructor Summary | |
|---|---|
UserCondition()
|
|
| Method Summary | |
|---|---|
boolean |
isTrue()
|
void |
makeXMLData(IXMLElement conditionRoot)
This element will be called by the RulesEngine to serialize the configuration of a condition into XML. |
void |
readFromXML(IXMLElement xmlcondition)
|
| Methods inherited from class com.izforge.izpack.rules.Condition |
|---|
getDependenciesDetails, getId, getInstalldata, setId, setInstalldata |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private java.lang.String requiredUsername
| Constructor Detail |
|---|
public UserCondition()
| Method Detail |
|---|
public boolean isTrue()
isTrue in class Conditionpublic void readFromXML(IXMLElement xmlcondition)
readFromXML in class Conditionpublic void makeXMLData(IXMLElement conditionRoot)
Condition
makeXMLData in class ConditionconditionRoot - the root element for this condition
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||