Mercurial > hg > release > thermostat-0.5
view vm-cpu/client-cli/src/main/resources/com/redhat/thermostat/vm/cpu/client/cli/strings.properties @ 908:1e51015e63e5
Allow plugins to dynamically contribute output to vm-stat command
This commit follows the previous commits that created agent and common
bundles for the plugins we include with Thermostat. Currently the
vm-stat command uses output from the VmCpuStatDAO and VmMemoryStatDAO,
which are now contained in plugins. In order to not have core Thermostat
rely on the presence of plugins, this commit introduces a
VMStatPrintDelegate interface which plugins can implement to
dynamically provide output to the vm-stat command. The end result is the
same vm-stat output as before, but without dependencies on the
vm-cpu-common and vm-memory-common bundles. In addition, other plugins
can contribute columns of data to the command as well.
Reviewed-by: omajid
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2013-January/005031.html
author | Elliott Baron <ebaron@redhat.com> |
---|---|
date | Wed, 09 Jan 2013 14:59:30 -0500 |
parents | |
children |