added hasXX-methods
This commit is contained in:
parent
c18761625b
commit
50be1bb115
1 changed files with 8 additions and 0 deletions
|
@ -36,4 +36,12 @@ public class Config {
|
|||
return (websrvPort != null || ajp13Port != null || rmiPort != null || xmlrpcPort != null);
|
||||
}
|
||||
|
||||
public boolean hasPropFile() {
|
||||
return (propFile != null);
|
||||
}
|
||||
|
||||
public boolean hasHomeDir() {
|
||||
return (homeDir != null);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue