|
|||||||||
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 |
readFromXML(XMLElement 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 Condition
public void readFromXML(XMLElement xmlcondition)
readFromXML
in class Condition
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |