|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectprotoj.lang.InfoFeature
public final class InfoFeature
Provides support for reporting project information such as help and versioning.
| Constructor Summary | |
|---|---|
InfoFeature(StandardProject project,
java.lang.String versionInfo)
Accepts the owning project and the information to be reported by reportVersion(), |
|
| Method Summary | |
|---|---|
void |
reportCommandHelp(Command command)
Reports help on the specified command to stdout. |
void |
reportProjectHelp()
Reports general project help information to stdout by iterating over the commands in the CommandStore and properties in the
PropertyStore and using their descriptive properties. |
void |
reportPropertyHelp(PropertyInfo property)
Reports help on the specified property to stdout. |
void |
reportVersion()
Reports version information to stdout. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InfoFeature(StandardProject project,
java.lang.String versionInfo)
reportVersion(),
project - versionInfo - | Method Detail |
|---|
public void reportProjectHelp()
CommandStore and properties in the
PropertyStore and using their descriptive properties.
public void reportCommandHelp(Command command)
command - public void reportPropertyHelp(PropertyInfo property)
property - public void reportVersion()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||