public class jBPMDataPropertyFormatter
extends org.jboss.dashboard.provider.DataPropertyFormatterImpl
| Modifier and Type | Field and Description |
|---|---|
protected org.jboss.dashboard.LocaleManager |
localeManager |
| Constructor and Description |
|---|
jBPMDataPropertyFormatter() |
| Modifier and Type | Method and Description |
|---|---|
String |
formatElapsedTime(long millis,
Locale l) |
String |
formatValue_duration(Object value,
Locale l)
Format the property
duration.. |
String |
formatValue_status(Object value,
Locale l) |
String |
formatValue_userid(Object value,
Locale l)
Format the property
userid used in task assigments. |
String |
formatValue(String propertyId,
Object value,
Locale l) |
protected ResourceBundle |
getBundle(Locale l)
Get the associated resource bundle.
|
String[] |
getSupportedPropertyIds() |
public String[] getSupportedPropertyIds()
getSupportedPropertyIds in interface org.jboss.dashboard.provider.DataPropertyFormattergetSupportedPropertyIds in class org.jboss.dashboard.provider.DataPropertyFormatterImplpublic String formatValue(String propertyId, Object value, Locale l)
formatValue in interface org.jboss.dashboard.provider.DataPropertyFormatterformatValue in class org.jboss.dashboard.provider.DataPropertyFormatterImplpublic String formatValue_duration(Object value, Locale l)
duration..
If duration value is null or equals to 0, means
the task is not completed yet and the duration is undefined.value - The property value.l - The localeException - An error ocurred.public String formatValue_userid(Object value, Locale l)
userid used in task assigments.
If no user assigned use a custom literal.value - The property value.l - The localeException - An error ocurred.protected ResourceBundle getBundle(Locale l)
l - The locale.Copyright © 2013–2015 JBoss by Red Hat. All rights reserved.